From: Hushan Jia <hushan.jia@gmail.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: gdb@sourceware.org
Subject: Re: gdb symbol problem
Date: Sun, 27 Dec 2009 03:45:00 -0000 [thread overview]
Message-ID: <e38b6a940912261945o1303a68dv55d222ee356dc750@mail.gmail.com> (raw)
In-Reply-To: <8ac60eac0912261936q49f50cf6ofabf2c56055621af@mail.gmail.com>
On Sun, Dec 27, 2009 at 11:36 AM, Paul Pluzhnikov
<ppluzhnikov@google.com> wrote:
> 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.
Sorry for forget the important information.
>
>> (gdb) target remote /dev/pts/5
>
> What is on the "other end" of /dev/pts/5 ?
Hi, the other end is console output redirected from qemu emulator, I
have added "kgdboc=ttyS0,115200 kgdbwait" parameter to the kernel.
>
>>> 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.
Remote debugging using /dev/pts/11
0xc0467118 in ?? ()
above message is output when I connected to pts initially, and the
kernel is waiting for remote gdb's connect, so I dont think it is in a
module.
>
> You might want to read:
> http://sourceforge.net/projects/kgdb-light/
> http://sourceware.org/ml/gdb/2009-01/msg00037.html
>
> Cheers,
> --
> Paul Pluzhnikov
>
--
Thanks & Regards,
Hushan Jia
next prev parent reply other threads:[~2009-12-27 3:45 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
2009-12-27 3:45 ` Hushan Jia [this message]
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=e38b6a940912261945o1303a68dv55d222ee356dc750@mail.gmail.com \
--to=hushan.jia@gmail.com \
--cc=gdb@sourceware.org \
--cc=ppluzhnikov@google.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