This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]