Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Peter Steiner <sp@med-2-med.com>
To: Tristan Gingold <gingold@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: gdb darwin target on Linux host?
Date: Wed, 20 Oct 2010 15:24:00 -0000	[thread overview]
Message-ID: <20101020152407.3F76031367@nx.neverkill.us> (raw)
In-Reply-To: <20101020151257.25F2D31366@nx.neverkill.us>


> > file /home/exchange/ls
> > /home/exchange/ls: Mach-O fat file with 2 architectures
> 
> You can't debug fat binaries.  You have to extract the executable you really want to debug.
> 

ok - but the packaged Apple darwin gdb (shipped with my install) CAN
read the native binaries. So, what is the difference? Another/patched
libbfd used by Apple?

(e.g. http://www.opensource.apple.com/tarballs/gdb/gdb-1469.tar.gz
gdb version is 6.3.50.20050815-cvs)

however I do not want to debug natively (or my question here would be
pointless), I want to cross-debug using a Linux host.



  parent reply	other threads:[~2010-10-20 15:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-20 13:53 Peter Steiner
2010-10-20 14:20 ` Tristan Gingold
2010-10-20 14:26   ` Pedro Alves
2010-10-20 14:41     ` Tristan Gingold
2010-10-20 14:50       ` Pedro Alves
2010-10-20 14:52         ` Nathan Froyd
2010-10-20 15:09           ` Pedro Alves
     [not found]           ` <20101020150949.4841131366@nx.neverkill.us>
2010-10-20 15:15             ` Peter Steiner
     [not found] ` <20101020143016.6BE9131366@nx.neverkill.us>
2010-10-20 14:42   ` Peter Steiner
2010-10-20 15:12     ` Tristan Gingold
     [not found]     ` <20101020151257.25F2D31366@nx.neverkill.us>
2010-10-20 15:24       ` Peter Steiner [this message]
2010-10-20 17:12         ` Stan Shebs
2010-10-21  7:49           ` Tristan Gingold
2010-10-20 15:35       ` Peter Steiner
     [not found]       ` <1287588922.28107.281.camel@hp>
2010-10-20 15:45         ` Paul Starzetz

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=20101020152407.3F76031367@nx.neverkill.us \
    --to=sp@med-2-med.com \
    --cc=gdb@sourceware.org \
    --cc=gingold@adacore.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