This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb 7.0 on darwin 10
- From: Tristan Gingold <gingold at adacore dot com>
- To: Vincent Bénony <vincent dot benony at arobas-music dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 13 Oct 2009 12:59:24 +0200
- Subject: Re: gdb 7.0 on darwin 10
- References: <771A6A6C-7B2C-4110-9014-A12AB1DF4364@nordnet.fr>
On Oct 12, 2009, at 6:26 PM, Vincent Bénony wrote:
Hi there !
I'm pretty impressed by the new functionalities of GDB 7.0, which
works pretty well on my Linux box. But, I've some problem with the
darwin version.
I currently use an iMac under darwin 10 (Snow Leopard).
First of all, it seems that the dyld struct used by gdb to catch
dylib loading have changed: the version number was 1 under darwin 9,
and is now 7. So, commands like "info sharedlibrary" do not work
unless I change the DYLD_VERSION macro definition in gdb/solib-
darwin.c file. By the way, by changing the definition on
DYLD_VERSION and by testing everywhere in the code that version is
less or equal to 7, I finally got gdb reading symbols of my dylib
files correctly !
Hi,
this is now fixed in gdb.
Thanks,
Tristan.