From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25489 invoked by alias); 13 Oct 2009 10:59:32 -0000 Received: (qmail 25480 invoked by uid 22791); 13 Oct 2009 10:59:31 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Oct 2009 10:59:27 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 3854F29003A; Tue, 13 Oct 2009 12:59:25 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G-vVApzCRRdP; Tue, 13 Oct 2009 12:59:24 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 9A544290036; Tue, 13 Oct 2009 12:59:24 +0200 (CEST) Subject: Re: gdb 7.0 on darwin 10 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes From: Tristan Gingold In-Reply-To: <771A6A6C-7B2C-4110-9014-A12AB1DF4364@nordnet.fr> Date: Tue, 13 Oct 2009 10:59:00 -0000 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <771A6A6C-7B2C-4110-9014-A12AB1DF4364@nordnet.fr> To: =?iso-8859-1?Q?Vincent_B=E9nony?= X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00234.txt.bz2 On Oct 12, 2009, at 6:26 PM, Vincent B=E9nony wrote: > Hi there ! > > I'm pretty impressed by the new functionalities of GDB 7.0, which=20=20 > works pretty well on my Linux box. But, I've some problem with the=20=20 > 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=20=20 > dylib loading have changed: the version number was 1 under darwin 9,=20=20 > and is now 7. So, commands like "info sharedlibrary" do not work=20=20 > unless I change the DYLD_VERSION macro definition in gdb/solib-=20 > darwin.c file. By the way, by changing the definition on=20=20 > DYLD_VERSION and by testing everywhere in the code that version is=20=20 > less or equal to 7, I finally got gdb reading symbols of my dylib=20=20 > files correctly ! Hi, this is now fixed in gdb. Thanks, Tristan.