From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29197 invoked by alias); 25 Mar 2012 01:05:05 -0000 Received: (qmail 29178 invoked by uid 22791); 25 Mar 2012 01:05:04 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Mar 2012 01:04:46 +0000 From: "howarth at bromo dot med.uc.edu" To: gdb-prs@sourceware.org Subject: [Bug gdb/13901] New: no handler for the OS ABI "Darwin" when gdb 7.4 built as i386-apple-darwin10.8.0 Date: Sun, 25 Mar 2012 01:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: 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-q1/txt/msg00467.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13901 Bug #: 13901 Summary: no handler for the OS ABI "Darwin" when gdb 7.4 built as i386-apple-darwin10.8.0 Product: gdb Version: 7.4 Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: howarth@bromo.med.uc.edu Classification: Unclassified When gdb 7.4 is built targeting i386-apple-darwin10.8.0, the resulting binary produces the warning... % fsf-gdb ./a.out GNU gdb (GDB) 7.4 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-apple-darwin10.8.0". For bug reporting instructions, please see: ... warning: A handler for the OS ABI "Darwin" is not built into this configuration of GDB. Attempting to continue with the default i386:x86-64 settings. Reading symbols from /Users/howarth/a.out...Reading symbols from /Users/howarth/a.out.dSYM/Contents/Resources/DWARF/a.out...done. done. The gdb is non-functional and produces error messages such as... (gdb) break main Breakpoint 1 at 0xd80: file himenoBMTxpa.c, line 71. (gdb) r Starting program: /Users/howarth/a.out darwin_set_sstep: unknown flavour: 4 Error calling thread_get_state for GP registers for thread 0x8451lxwarning: Mach error at "i386-darwin-nat.c:118" in function "i386_darwin_fetch_inferior_registers": (os/kern) invalid argument (0x4) The normal build targeting x86_64-apple-darwin10.8.0 reports the expected... GNU gdb (GDB) 7.4 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin10.8.0". For bug reporting instructions, please see: . and functions normally when running programs with breakpoints set. -- 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.