This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
kernel loadable module debugging
- From: Kevin Nomura <nomura at netapp dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 18 Aug 2005 22:16:36 -0700
- Subject: kernel loadable module debugging
When debugging kernel loadable modules over a serial port,
(using the kernel gdb stub, not to be confused with gdbserver!)
the user needs to manually deal with loading the symbol files
(with add-symbol-file commands) and re-establishing breakpoints
across a reboot manually.
Would it be accurate to say that there are scripts to simplify
but not automate the former, and no support for the latter,
in gdb stub debug mode?
Of the two, restoring breakpoints across a reboot is the
gnarlier problem that I can see. Has this been done?
If not, would making a "remote target" for the application
shared library framework be a sane approach?
Thanks in advance for any info.
Kevin