Multiple breakpoint issue when debugging loadable kernel module

Vimal j.vimal@gmail.com
Sat Nov 5 02:07:00 GMT 2011


Oops, somehow missed this thread.

On 1 November 2011 14:12, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
>
> It reminds me a binutils bug, maybe you could check your
> /path/to/some/module.ko with readelf if it has its .debug_ranges right:
>        https://bugzilla.redhat.com/show_bug.cgi?id=714824#c6
>
> Sure it also may be a completely different bug and it may really be in GDB.

As I am not experienced enough with this, would love some more
pointers.   Are you suggesting gcc does not insert debug information
correctly?   Though this is possible, does it explain the fact that
the same .ko file without recompilation, works with gdb-7.1?

-- 
Vimal



More information about the Gdb mailing list