From: Tristan Gingold <gingold@adacore.com>
To: Jack Howarth <howarth@bromo.med.uc.edu>
Cc: Tobias Hahn <tobias.hahn@ableton.com>, gdb@sourceware.org
Subject: Re: gdb-7.0 on osx
Date: Fri, 09 Oct 2009 13:05:00 -0000 [thread overview]
Message-ID: <C1099229-8F3F-40AF-BBE9-01FBD586DE81@adacore.com> (raw)
In-Reply-To: <20091009125613.GA7568@bromo.med.uc.edu>
On Oct 9, 2009, at 2:56 PM, Jack Howarth wrote:
> On Fri, Oct 09, 2009 at 10:04:20AM +0200, Tristan Gingold wrote:
>>
>> On Oct 8, 2009, at 6:56 PM, Tobias Hahn wrote:
>>> Also, I have not yet managed to debug 32bit executables. I have
>>> tried
>>> various build options (i386-apple-darwin10, i686-apple-darwin10) but
>>> none seemed to work. It always complains that it cannot read
>>> mach-o-i386 files.
>>>
>>> Any ideas on this one?
>>
>> I forgot to say: if you configure gdb for i386-darwin, it should
>> work.
>>
>> Tristan.
>
> Tristan,
> I never got around to testing that alternative. Does a build
> for i386-darwin properly load x86_64 binaries in gdb 7.0 or does
> it suffer the same issue as the x86_64 darwin build did for
> loading i386 binaries?
It should. Before switching to Snow Leopard, I always built using the
Apple gcc, which was an i386 gcc and
I checked it could handle both i386 and x86_64. But you need to
configure with --enable-64-bit-bfd
(important!).
Could you confirm ?
Tristan.
next prev parent reply other threads:[~2009-10-09 13:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-08 15:57 Tobias Hahn
2009-10-08 16:02 ` Tristan Gingold
2009-10-08 16:56 ` Tobias Hahn
2009-10-09 7:55 ` Tristan Gingold
2009-10-09 9:39 ` Tobias Hahn
2009-10-09 13:05 ` Tristan Gingold
2009-10-09 8:04 ` Tristan Gingold
2009-10-09 12:56 ` Jack Howarth
2009-10-09 13:05 ` Tristan Gingold [this message]
2009-10-09 8:40 ` -Wformat and the like (was: gdb-7.0 on osx) Tobias Hahn
2009-10-09 8:53 ` Tobias Hahn
2009-10-09 17:51 ` -Wformat and the like Tom Tromey
2009-10-09 18:28 ` Stan Shebs
2009-10-09 18:44 ` Pedro Alves
2009-10-09 19:38 ` Tobias Hahn
2009-10-09 19:50 ` Daniel Jacobowitz
[not found] ` <02C5402A-7B26-4A21-91C2-549917DA523E@ableton.com>
2009-10-09 19:55 ` Pedro Alves
2009-10-12 9:51 ` Tristan Gingold
2009-10-12 14:32 ` Pedro Alves
2009-10-15 13:27 ` Tristan Gingold
2009-10-09 20:27 ` Tom Tromey
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=C1099229-8F3F-40AF-BBE9-01FBD586DE81@adacore.com \
--to=gingold@adacore.com \
--cc=gdb@sourceware.org \
--cc=howarth@bromo.med.uc.edu \
--cc=tobias.hahn@ableton.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