public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Nomura <nomura@netapp.com>
To: gdb@sources.redhat.com
Subject: kernel loadable module debugging
Date: Fri, 19 Aug 2005 05:17:00 -0000	[thread overview]
Message-ID: <20050819051636.GF9233@netapp.com> (raw)

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

                 reply	other threads:[~2005-08-19  5:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050819051636.GF9233@netapp.com \
    --to=nomura@netapp.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).