From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15114 invoked by alias); 2 Apr 2012 14:35:07 -0000 Received: (qmail 14691 invoked by uid 22791); 2 Apr 2012 14:35:06 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Apr 2012 14:34:54 +0000 From: "howarth at bromo dot med.uc.edu" To: gdb-prs@sourceware.org Subject: [Bug gdb/13901] no handler for the OS ABI "Darwin" when gdb 7.4 built as i386-apple-darwin10.8.0 Date: Mon, 02 Apr 2012 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at bromo dot med.uc.edu X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00009.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13901 --- Comment #7 from Jack Howarth 2012-04-02 14:34:09 UTC --- On Mon, Apr 02, 2012 at 01:57:55PM +0000, gingold at adacore dot com wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=13901 > > --- Comment #6 from gingold at adacore dot com 2012-04-02 13:57:55 UTC --- > On Apr 2, 2012, at 3:50 PM, howarth at bromo dot med.uc.edu wrote: > > > http://sourceware.org/bugzilla/show_bug.cgi?id=13901 > > > > --- Comment #5 from Jack Howarth 2012-04-02 13:50:37 UTC --- > > (In reply to comment #4) > >> No, that's a different issue: you haven't configured gdb for x86-64. > >> Try with: --enable-64-bit-bfd > >> > >> Tristan. > > > > Confirmed that --enable-64-bit-bfd solves the problem debugging x86_64 > > binaries. > > Considering that the pool of EMT64 capable Intel macs greatly outways that of > > non-EMT64 > > units, shouldn't configure default to adding --enable-64-bit-bfd for > > i386-apple-darwin? > > > No, to be in line with all other platforms: there is a performance impact on > bfd side. Tristan, How bad is the performance impact? I suspect that fink will want the i386 fink gdb package to support x86_64 binaries as well. Also perhaps the error handling for the default build of i386 gdb could be improved. It would be nicer if the default i386 build of gdb simply refused to load x86_64 binaries and emitted an error message indicating that the gdb wasn't built with --enable-64-bit-bfd to aid end-users with solving the problem. Jack > > There is nothing darwin specific here. > > Tristan. > > -- > Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.