From: Keith Seitz <keiths@redhat.com>
To: Dale Lee <lee@mayflowercom.com>
Cc: insight@sources.redhat.com
Subject: Re: Debugging remote target
Date: Mon, 28 Apr 2008 17:23:00 -0000 [thread overview]
Message-ID: <4816065D.3070909@redhat.com> (raw)
In-Reply-To: <48160634.4000308@mayflowercom.com>
Dale Lee wrote:
> What do I need to do to make the insight debugger report the arm
> registers correctly?
You need to tell the build that you want a debugger that runs (hosted)
on i686, but targets ARM. See configure's "--target" option.
I don't know the exact triple used for your ARM cpu, there are a number
of ways to find out. Easiest, what is the name of your compiler
(assuming gcc). If it's "foo-bar-baz-gcc" (or perhaps just
"foo-bar-gcc"), then your build --target is "foo-bar-baz" (or perhaps
simply "foo-bar").
If you're not using gcc, you can look in src/gdb/configure.tgt for a
suitable target triple for your target. Otherwise, your best bet is to
search or ask the gdb mailing list for assistance.
Keith
prev parent reply other threads:[~2008-04-28 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 17:15 Dale Lee
2008-04-28 17:23 ` Keith Seitz [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=4816065D.3070909@redhat.com \
--to=keiths@redhat.com \
--cc=insight@sources.redhat.com \
--cc=lee@mayflowercom.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).