From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4654 invoked by alias); 9 Oct 2009 07:55:51 -0000 Received: (qmail 4646 invoked by uid 22791); 9 Oct 2009 07:55:50 -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; Fri, 09 Oct 2009 07:55:44 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id B6016290066; Fri, 9 Oct 2009 09:55:42 +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 BxUYfO8MiyXm; Fri, 9 Oct 2009 09:55:42 +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 16C7C290060; Fri, 9 Oct 2009 09:55:42 +0200 (CEST) Subject: Re: gdb-7.0 on osx Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Tristan Gingold In-Reply-To: <4C3C8495-537E-4FEB-A133-92EE3BFF9CFF@ableton.com> Date: Fri, 09 Oct 2009 07:55:00 -0000 Cc: gdb@sourceware.org Content-Transfer-Encoding: 7bit Message-Id: References: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com> <5D222CA0-6142-4B90-9F2D-7D381B1BB0FE@adacore.com> <4C3C8495-537E-4FEB-A133-92EE3BFF9CFF@ableton.com> To: Tobias Hahn 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/msg00169.txt.bz2 On Oct 8, 2009, at 6:56 PM, Tobias Hahn wrote: > Actually, that was the problem, but subtly so: > > I had trusted it using the Keychain application running from my user > account. This somehow trusted it only for my user. Running the > Keychain app as root and trusting again resolved this issue. Ah, I never ran Keychain as root. > However, it still does not find any symbols except in trivial test > cases. I think you can work-around this issue by first running dsymutil. > 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? Yes, this is fixed in head. gdb 7.0 doesn't handle i386 binaries, unfortunately. Tristan.