From: Jason Wessel <jason.wessel@windriver.com>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kgdb over ethernet?
Date: Mon, 28 Apr 2008 08:34:45 -0500 [thread overview]
Message-ID: <4815D275.40405@windriver.com> (raw)
In-Reply-To: <alpine.LNX.1.10.0804261729140.20150@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> On Friday 2008-04-25 19:32, Jason Wessel wrote:
>> Jan Engelhardt wrote:
>>> the DocBook files for the recently-merged kgdb mention kgdboe, as does
>>> the doc on kgdb.sf.net, but I do not see kgdboe anywhere in the source.
>>> Is oe actually merged? I'm kinda short on rs232...
>> Well if you have at least one you have enough because you can share kgdb
>> with the console.
>
> kgdb is running, though I wonder why breakpoints are not seemingly hit.
>
> (gdb) b vfs_readdir
> cBreakpoint 2 at 0xc0270c11: file fs/readdir.c, line 23.
> (gdb) c
> Continuing.
>
> Then I issued ls -l on tty1 (kgdb is on ttyS0), but it did not
> happen to stop at vfs_readdir, though I would assume vfs_readdir
> was entered as part of /bin/ls.
> Ideas?
I know very little about what vmware may or may not be doing here.
I tried your test with the tip of the kernel tree this morning with a
arch=i386 kernel and it seems to work fine on real HW and qemu. You
might consider checking if the kgdb regression tests pass. You can
change your .config to have:
CONFIG_KGDB_TESTS=y
CONFIG_KGDB_TESTS_ON_BOOT=y
CONFIG_KGDB_TESTS_BOOT_STRING="V1F100"
This will verify if the kgdb core is work correctly on your platform,
and if some part fails we can go from there. Depending on if vmware
implements HW breakpoints the HW breakpoint tests could certainly
fail. As an example, qemu does not implement HW breakpoints so those
particular tests always fail, but the failure does not kill the kernel
and the test suite simply moves on to the next test.
Jason.
prev parent reply other threads:[~2008-04-28 13:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-25 16:39 kgdb over ethernet? Jan Engelhardt
2008-04-25 17:32 ` Jason Wessel
2008-04-26 14:30 ` Stefan Richter
2008-04-26 15:03 ` Jan Engelhardt
2008-04-26 15:30 ` Jan Engelhardt
2008-04-28 13:34 ` Jason Wessel [this message]
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=4815D275.40405@windriver.com \
--to=jason.wessel@windriver.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.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