From: Jonas Maebe <jonas.maebe@elis.ugent.be>
To: gdb@sourceware.org
Subject: Re: gdb seems to be broken on darwin 10.5.8 and later
Date: Thu, 01 Oct 2009 11:29:00 -0000 [thread overview]
Message-ID: <8A12DBCB-8C04-4FAD-85ED-2447CD01F1ED@elis.ugent.be> (raw)
In-Reply-To: <20090930162038.GA7190@bromo.med.uc.edu>
On 30 Sep 2009, at 18:20, Jack Howarth wrote:
> Now gdb errors out earlier and claims that darwin executables
> aren't valid executable files. Is anyone else seeing that on
> darwin?
Since you mentioned later that you are on 10.6, might the problem be
that previously you only tested gdb on programs compiled under 10.5.x
or with "-mmacosx-version-min 10.5" (or earlier), while you are now
trying with a program compiled on and for 10.6? Apple added/changed
some things to the Mach-O object format in 10.6 (just like in 10.5),
and e.g. (some?) binaries compiled for 10.6 are not recognised as
valid executables at all on 10.5 or earlier. gdb might be confused for
similar reasons.
You may want to try compiling your program with "-mmacosx-version-min
10.5" and check again.
Jonas
next prev parent reply other threads:[~2009-10-01 11:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-23 22:09 [gdb-7.0] One week to the gdb-7.0 release! Joel Brobecker
2009-09-29 23:17 ` Anirban Sinha
2009-09-30 0:13 ` Joel Brobecker
2009-09-30 0:44 ` Anirban Sinha
2009-09-30 16:20 ` Jack Howarth
2009-09-30 16:30 ` Joel Brobecker
2009-09-30 16:59 ` Jack Howarth
2009-09-30 17:08 ` Paul Pluzhnikov
2009-09-30 17:31 ` Jack Howarth
2009-09-30 17:42 ` Paul Pluzhnikov
2009-09-30 17:45 ` Jack Howarth
2009-09-30 17:34 ` Joel Brobecker
2009-10-01 11:29 ` Jonas Maebe [this message]
2009-10-02 1:53 ` gdb seems to be broken on darwin 10.5.8 and later Jack Howarth
2009-10-02 15:40 ` Joel Brobecker
2009-10-02 16:12 ` Jack Howarth
2009-10-02 16:20 ` Joel Brobecker
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=8A12DBCB-8C04-4FAD-85ED-2447CD01F1ED@elis.ugent.be \
--to=jonas.maebe@elis.ugent.be \
--cc=gdb@sourceware.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