From: Jim Ingham <jingham@apple.com>
To: <chester@linux.org.tw>, <gdb@sourceware.cygnus.com>
Subject: Re: help with remote debug!!
Date: Tue, 18 Jul 2000 10:11:00 -0000 [thread overview]
Message-ID: <B599DDBC.2B39%jingham@apple.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10007181704400.27158-100000@localhost.localdomain>
Also sprach chester@linux.org.tw:
> 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,
> $ arm-unknown-linux-gdb vmlinux
>
> and,
> (gdb) set remotebaud 115200
> (gdb) target remote /dev/ttyS0
> (gdb) run
>
> 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
>
>
You want to use the same device that Fernando suggested in the previous
message. Before you issue the "target remote" command, say:
(gdb) set debug remote 2
Then you will get a trace of all the messages flowing between you and your
stub. You can see if you ever connect, or if there is some errors in the
initial handshake that are causing the hang.
The gdb info file has a section on the remote protocol, which will help you
understand the traffic you are watching.
Jim
--
Jim Ingham jingham@apple.com
Apple Computer
next prev parent reply other threads:[~2000-07-18 10:11 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 [this message]
2000-07-18 17:03 ` Andrew Cagney
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=B599DDBC.2B39%jingham@apple.com \
--to=jingham@apple.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