From: Andrew Cagney <ac131313@cygnus.com>
To: chester@linux.org.tw
Cc: gdb@sourceware.cygnus.com
Subject: Re: help with remote debug!!
Date: Tue, 18 Jul 2000 17:03:00 -0000 [thread overview]
Message-ID: <3974F011.278D561E@cygnus.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10007181704400.27158-100000@localhost.localdomain>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]
chester@linux.org.tw wrote:
>
> Hi....!
> I got some confuse about remote debug feature on gdb.
> (I have read some GDB doc).
> Build all of cross-compile in my PC for StrongARM and bootable
> kernel that uses cross-compile.
> Then i do the following command,
From memory, adding the GDB stub to the Linux kernel was only a recent
inovation. I guess, the kernel stub code is enabled and is known to
work. Does that stub code come with a Linux HOWTO tht is specific to
the arm?
> $ arm-unknown-linux-gdb vmlinux
>
> and,
> (gdb) set remotebaud 115200
> (gdb) target remote /dev/ttyS0
Ok so far. (should I also mention set debug remote ...? :-)
> (gdb) run
this looks wrong. If I assume that you've set up:
<gdb vmlinux> - /dev/ttyS0 ------ arm board with kernel
then I don't know that ``run'' is applicable.
One guess of what should happen is:
o the arm board boots the kernel
o the arm board traps to the
sub
o you connect gdb to the serial
line connected to the arm board
o after entering ``target remote...''
you can examine the kernel state
o use continue (not run) to resume
execution
Andrew
>
> But it hang on connect to remote target,no message on my terminal.
>
> What can i do for it ?? Or more doc i can study??
>
> Thanks,
> Chester
From gerwynd@tommoll.freeserve.co.uk Thu Jul 20 04:03:00 2000
From: "Gerwyn Davies" <gerwynd@tommoll.freeserve.co.uk>
To: "GDB" <gdb@sourceware.cygnus.com>
Subject: Connecting to Insight
Date: Thu, 20 Jul 2000 04:03:00 -0000
Message-id: <000701bff23a$96e0c0c0$aeb8883e@gtd-s-machine>
X-SW-Source: 2000-07/msg00065.html
Content-length: 162
Hi,
Â
Anyone know of the RS232 pinout require to
connect Insight ( hosted on a PC, is it available for any other hosts?) to a
remote target?
Â
Thanks.
Â
Â
prev parent reply other threads:[~2000-07-18 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.10.10007181704400.27158-100000@localhost.localdomain>
2000-07-18 5:52 ` Quality Quorum
2000-07-18 10:11 ` Jim Ingham
2000-07-18 17:03 ` Andrew Cagney [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=3974F011.278D561E@cygnus.com \
--to=ac131313@cygnus.com \
--cc=chester@linux.org.tw \
--cc=gdb@sourceware.cygnus.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