From: Jim Blandy <jimb@red-bean.com>
To: yang xiaoli <alula418@hotmail.com>
Cc: gdb@sourceware.org
Subject: Re: how to cross-compile gdb for arm?
Date: Mon, 28 Nov 2005 22:01:00 -0000 [thread overview]
Message-ID: <8f2776cb0511280157qeff049aq43201c2bd26db391@mail.gmail.com> (raw)
In-Reply-To: <BAY109-F134874B254EA1DF4238B5887480@phx.gbl>
On 11/28/05, yang xiaoli <alula418@hotmail.com> wrote:
> I'll corss-compile gdb for arm board, will use gdb to debug on arm board.
> I use gdb6.0 or gdb6.3 and configure with:
> CC=arm-linux-gcc ../gdb-6.3/configure --target=arm-linux \
> --build=arm-linux --host=arm-linux
What kind of machine are you compiling GDB itself on? That should be
your --build.
What kind of machine do you intend to run GDB on while you debug your
ARM programs? That should be your --host.
Will you run GDB on the same machine as the program being debugged?
Then your --host and --target should be the same. If you're going to
run GDB on a different kind of machine (and debug over the network, or
over a serial line), then your --host and --target should be
different.
next prev parent reply other threads:[~2005-11-28 9:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-28 8:58 yang xiaoli
2005-11-28 9:57 ` Neo Jia
2005-11-28 22:01 ` Jim Blandy [this message]
2005-11-29 3:24 ` yang xiaoli
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=8f2776cb0511280157qeff049aq43201c2bd26db391@mail.gmail.com \
--to=jimb@red-bean.com \
--cc=alula418@hotmail.com \
--cc=gdb@sourceware.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