This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch)
- From: Jim Blandy <jimb at codesourcery dot com>
- To: "Jon Ringle" <JRingle at vertical dot com>
- Cc: <gdb at sourceware dot org>
- Date: Thu, 27 Sep 2007 17:07:00 -0700
- Subject: Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch)
- References: <4DD3AF7ECBBC43409BA36508938D01851B00AE@CVAEX1.VERTICAL.COM>
"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?