From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28471 invoked by alias); 8 Oct 2009 16:56:54 -0000 Received: (qmail 28461 invoked by uid 22791); 8 Oct 2009 16:56:53 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.ableton.net (HELO mail.ableton.net) (62.96.12.115) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Oct 2009 16:56:48 +0000 Received: from client2027.office.ableton.com ([10.1.15.78]) by mail.ableton.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1MvwII-00058d-CT for gdb@sourceware.org; Thu, 08 Oct 2009 18:56:46 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: gdb-7.0 on osx From: Tobias Hahn In-Reply-To: <5D222CA0-6142-4B90-9F2D-7D381B1BB0FE@adacore.com> Date: Thu, 08 Oct 2009 16:56:00 -0000 Content-Transfer-Encoding: 7bit Message-Id: <4C3C8495-537E-4FEB-A133-92EE3BFF9CFF@ableton.com> References: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com> <5D222CA0-6142-4B90-9F2D-7D381B1BB0FE@adacore.com> To: gdb@sourceware.org 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/msg00164.txt.bz2 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. However, it still does not find any symbols except in trivial test cases. 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? Thanks! Tobias Am 08.10.2009 um 18:02 schrieb Tristan Gingold: > > On Oct 8, 2009, at 5:57 PM, Tobias Hahn wrote: > >> Hi all, >> >> I cannot get gdb-7.0 to debug my executables under 10.6. I have >> built it using >> >> $ ../gdb-7.0/configure --build=x86_64-apple-darwin10 CFLAGS="-g -O2 >> -Wno-format" >> $ make >> $ codesign -s gdb-sign gdb/gdb >> >> (The certificate gdb-sign is in the System keychain and is valid >> for codesigning.) > > Is it also trusted ? > > Tristan. > Ableton AG, Sitz Berlin, Amtsgericht Berlin-Charlottenburg, HRB 72838 Vorstand: Gerhard Behles, Jan Bohl, Bernd Roggendorf Vorsitzender des Aufsichtsrats: Uwe Struck