This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Debugging remote target
- From: Keith Seitz <keiths at redhat dot com>
- To: Dale Lee <lee at mayflowercom dot com>
- Cc: insight at sources dot redhat dot com
- Date: Mon, 28 Apr 2008 10:16:13 -0700
- Subject: Re: Debugging remote target
- References: <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