Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch)

Jim Blandy
2007-09-28T00:07:04Z

"Jon Ringle" <JRingle@vertical.com> writes:
> (gdb) b vert_dst_nopage_mmap
> Breakpoint 1 at 0xbf1342b4
> (gdb) list vert_dst_nopage_mmap
> No line number known for vert_dst_nopage_mmap.
>
> GDB has enough information to set the breakpoint correctly, but can't
> seem to find line info for the kernel module.

Hum. What do 'maint info psymtabs' and 'maint info symtabs' say after
you've set the breakpoint?