Multiple breakpoint issue when debugging loadable kernel module

Jan Kratochvil jan.kratochvil@redhat.com
Tue Nov 1 20:13:00 GMT 2011


On Tue, 01 Nov 2011 16:31:29 +0100, Jan Kiszka wrote:
> (gdb) b ieee80211_register_hw
> Breakpoint 1 at 0xffffffffa01b31a0: file
> /data/linux/net/mac80211/main.c, line 646.
> (gdb) l ieee80211_register_hw
> No line number known for ieee80211_register_hw.

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.


Thanks,
Jan



More information about the Gdb mailing list