linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Peter Barada <pbarada@mail.wm.sps.mot.com>
To: elan@nxnetworks.com
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Cross GDB and core files
Date: Wed, 5 Sep 2001 18:16:54 -0400	[thread overview]
Message-ID: <200109052216.f85MGsi32749@hyper.wm.sps.mot.com> (raw)
In-Reply-To: <NDBBLJKOJGKDOFBHNPGEMENACEAA.elan@nxnetworks.com>


>I'm trying to get gdb compiled with host of 386-linux and target of
>ppc-linux, mostly for debugging core files.  The ppc_8xx-gdb that came with
>hardhat doesn't work, when I run it on a core file I get:
>
>And if I try to build gdb from scratch using
>"./configure --target=ppc-linux" I get a cross gdb that has no clue how to
>read PPC ELF core files.

I've had luck building gdb-5.0 for powerpc-linux and used it to
debug a PPC linux kernel via a serial port, as well as use it (in
conjunction with gdbserver) to debug application code over the
network.  I used the following to configure:

../gdb-5.0/configure --target=powerpc-linux

--
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2001-09-05 22:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 21:35 Cross GDB and core files Elan Feingold
2001-09-05 21:54 ` Cal Erickson
2001-09-05 22:16 ` Peter Barada [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=200109052216.f85MGsi32749@hyper.wm.sps.mot.com \
    --to=pbarada@mail.wm.sps.mot.com \
    --cc=elan@nxnetworks.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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 NNTP newsgroup(s).