Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Robert Trask <rt_trask@yahoo.com>
To: gdb@sources.redhat.com
Subject: How to build & run ARM gdb?
Date: Wed, 14 May 2008 02:08:00 -0000	[thread overview]
Message-ID: <126693.48905.qm@web62005.mail.re1.yahoo.com> (raw)

Hello,
I am doing remote ARM system development cross hosted on a Redhat FC4 machine.
For building gdb I do the following:

# ./configure --target=arm-none-eabi
# make

The
resulting gdb seems to work ok vis-a-vis connecting to the target via
the remote protocol but it has problems interpreting the debug info in
the executable thus:

(gdb) list  <symbol_name>
No line number known for <symbol_name>.

Apparently this gdb can't understand the elf file?

But, the gdb that came with the RH distribution, ( GNU gdb Red Hat Linux (6.3.0.0-1.21rh)  DOES understand the elf file and correctly finds the <symbol_name> in the appropriate source file.
Of course, since it was configured for "i386-redhat-linux-gnu" it has no hope of properly interacting with the remote ARM target.

I have tried all manner of different configurations (all accepted by config.sub). I get the same result.

What is happening here and how do I fix it?
I have tried this with gdb 6.7.1 and 6.8. I am using Redhat Fedore Core 4.

R.


             reply	other threads:[~2008-05-14  2:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14  2:08 Robert Trask [this message]
2008-05-14  2:45 ` Daniel Jacobowitz
2008-05-14 14:39 Robert Trask
2008-05-14 16:29 ` Daniel Jacobowitz

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=126693.48905.qm@web62005.mail.re1.yahoo.com \
    --to=rt_trask@yahoo.com \
    --cc=gdb@sources.redhat.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