Multiple breakpoint issue when debugging loadable kernel module

Sat Nov 5 02:07:00 GMT 2011

Oops, somehow missed this thread.

On 1 November 2011 14:12, Jan Kratochvil <> 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:
> 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?


More information about the Gdb mailing list