From: ml-kernelnewbies@spiro.trikaliotis.net (Spiro Trikaliotis)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Seeing symbols of modules in kgdb setup
Date: Tue, 10 May 2011 22:00:19 +0200 [thread overview]
Message-ID: <20110510200019.GH5513@trikaliotis.net> (raw)
Hello,
I have a question on setting up kgdb. I searched the web and found some
tutorials. Unfortunately, it seems many are out of date, especially
taking into account that kgdb has been (partially?) integrated into the
main kernel. For example, I had to find out that the parameter for kgdb
are not called kgdb8250 anymore, but kgdboc.
The fact that the tutorials do not mention the version they refer to
does not help much, either.
Now, to my problem:
I think the tutorial on Linsyssoft helped me a lot (but only after
combining it with other resources): http://kgdb.linsyssoft.com/quickstart.htm.
I have built a custom kernel with kgdb. kgdboc and kgdbwait are set up,
I can break into my machine over serial. I can single step through the
kernel, as long as no modules are involved.
As soon as I have a module, I do not see its symbols or source anymore.
http://kgdb.linsyssoft.com/downloads.htm mentions a modified "gdbmod",
which has additional functionality to allow this.
Unfortunately, the patch and the gdbmod version given there are rather
outdated (gdb 6.4), while my Debian system has a much newer one: 7.0.1.
I do not know how to apply the patches, they do not. I have not found
any information if the patch (or something similar) has been included
into the main gdb.
So, what do I have to do in order to get kgdb with modules to run? Any
help is appreciated, and if its just a "RTFM" (as long as you tell me
WHICH manual, that is ;))
Any help is appreciated. Thanks for your time.
Best regards
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/
next reply other threads:[~2011-05-10 20:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-10 20:00 Spiro Trikaliotis [this message]
2011-05-11 2:19 ` Seeing symbols of modules in kgdb setup Thayumanavar S
2011-05-11 18:21 ` Spiro Trikaliotis
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=20110510200019.GH5513@trikaliotis.net \
--to=ml-kernelnewbies@spiro.trikaliotis.net \
--cc=kernelnewbies@lists.kernelnewbies.org \
/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 NNTP newsgroup(s).