Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "yang xiaoli" <alula418@hotmail.com>
To: jimb@red-bean.com
Cc: gdb@sourceware.org
Subject: Re: how to cross-compile gdb for arm?
Date: Tue, 29 Nov 2005 03:24:00 -0000	[thread overview]
Message-ID: <BAY109-F224AC283C0CDD6E926FC6A874B0@phx.gbl> (raw)
In-Reply-To: <8f2776cb0511280157qeff049aq43201c2bd26db391@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 1263 bytes --]

Yes Thanks, I modified the --build to my x86 and --host to arm-linux,
and set bash_cv_have_mbstate_t to yes, now to compiles ok, I can debug on 
arm platform!



>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 01:57:29 -0800
>
>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.

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn/  


      reply	other threads:[~2005-11-29  3:14 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
2005-11-29  3:24   ` yang xiaoli [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=BAY109-F224AC283C0CDD6E926FC6A874B0@phx.gbl \
    --to=alula418@hotmail.com \
    --cc=gdb@sourceware.org \
    --cc=jimb@red-bean.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