This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/13901] no handler for the OS ABI "Darwin" when gdb 7.4built as i386-apple-darwin10.8.0
- From: "howarth at bromo dot med.uc.edu" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 02 Apr 2012 13:13:59 +0000
- Subject: [Bug gdb/13901] no handler for the OS ABI "Darwin" when gdb 7.4built as i386-apple-darwin10.8.0
- Auto-submitted: auto-generated
- References: <bug-13901-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13901
Jack Howarth <howarth at bromo dot med.uc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #3 from Jack Howarth <howarth at bromo dot med.uc.edu> 2012-04-02 13:13:59 UTC ---
The propose patch almost fixes this PR but not quite. While this patch when
applied to gdb 7.4 resoives the failures when gdb debugs i386 executables, if
the i386-apple-darwin10 build of gdb is used to debug a x86_64 executable the
failures remain...
% clang -arch x86_64 -g himenoBMTxpa.c
% file ./a.out
./a.out: Mach-O 64-bit executable x86_64
% fsf-gdb ./a.out
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
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.
(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 0x5379lxwarning:
Mach error at "i386-darwin-nat.c:118" in function
"i386_darwin_fetch_inferior_registers": (os/kern) invalid argument (0x4)
(gdb)
--
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.