Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Baurjan Ismagulov <ibr@gantek.com>
To: gdb@sources.redhat.com
Subject: cross-debugger build problem
Date: Sat, 31 Mar 2001 13:51:00 -0000	[thread overview]
Message-ID: <20010401004506.A4137@alatau.ankara.gantek.com> (raw)

Hi,

I wish to use gdb to disassemble sparc-sun-linux binaries (with debug info) on an i386-*-linux host. I use gdb 5.0 on RedHat 6.2. I'm going to look into vmlinux built for sparc-linux.

While being not sure whether this is supported (I did read excellent gdb/doc/gdb.ps, as well as mailing list archives), I did "configure --target=sparc-sun-linux" and "make". The build failed at gdb/solib.c with errors like
solib.c: In function `solib_map_sections':
solib.c:369: structure has no member named `lm_addr'
...
solib.c: In function `solib_add_common_symbols':
solib.c:431: storage size of `inferior_rtc_symb' isn't known
solib.c:458: `N_COMM' undeclared (first use in this function)

(full output is lengthy, I will send it if anyone can help).

Does gdb support disassembling of binaries built for a target different from the host? If yes, how should I build gdb? Otherwise, what are my alternatives (other than running native gdb on sparc-linux)?

Thanks in advance,
Baurjan.


             reply	other threads:[~2001-03-31 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-31 13:51 Baurjan Ismagulov [this message]
2001-04-02  9:23 ` Kevin Buettner
2001-04-03 13:39   ` Baurjan Ismagulov
2001-04-03 18:25     ` Kevin Buettner

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=20010401004506.A4137@alatau.ankara.gantek.com \
    --to=ibr@gantek.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