From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Hushan Jia <hushan.jia@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gdb symbol problem
Date: Sun, 27 Dec 2009 03:36:00 -0000 [thread overview]
Message-ID: <8ac60eac0912261936q49f50cf6ofabf2c56055621af@mail.gmail.com> (raw)
In-Reply-To: <e38b6a940912261816k6f16227by96d16b315715b695@mail.gmail.com>
On Sat, Dec 26, 2009 at 6:16 PM, Hushan Jia <hushan.jia@gmail.com> wrote:
> I invoke gdb like this:
>
> [hushan@hushan-t linux-2.6.31.3]$ gdb ./vmlinux
Oh, you are not debugging a regular application. You probably should
have mentioned that in your initial message.
> (gdb) target remote /dev/pts/5
What is on the "other end" of /dev/pts/5 ?
>> My crystal ball tells me you didn't supply GDB with the executable you
>> are running.
My crystal ball now tells me that you are stopped in a loadable kernel
module. AFAIU, GDB has no way to automatically find what is loaded
where in the target kernel.
You might want to read:
http://sourceforge.net/projects/kgdb-light/
http://sourceware.org/ml/gdb/2009-01/msg00037.html
Cheers,
--
Paul Pluzhnikov
next prev parent reply other threads:[~2009-12-27 3:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 4:48 Hushan Jia
2009-12-26 8:55 ` Paul Pluzhnikov
2009-12-27 2:16 ` Hushan Jia
2009-12-27 3:36 ` Paul Pluzhnikov [this message]
2009-12-27 3:45 ` Hushan Jia
2009-12-28 2:38 ` Jie Zhang
2009-12-28 4:14 ` Hushan Jia
2009-12-28 4:22 ` Jie Zhang
[not found] ` <e38b6a940912272109i48efc394u9985327575437f0f@mail.gmail.com>
2009-12-28 6:44 ` Jie Zhang
2009-12-28 7:37 ` Hui Zhu
2009-12-28 10:28 ` Hushan Jia
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=8ac60eac0912261936q49f50cf6ofabf2c56055621af@mail.gmail.com \
--to=ppluzhnikov@google.com \
--cc=gdb@sourceware.org \
--cc=hushan.jia@gmail.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