public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/13901] New: no handler for the OS ABI "Darwin" when gdb 7.4 built as i386-apple-darwin10.8.0
@ 2012-03-25  1:05 howarth at bromo dot med.uc.edu
  2012-03-25  1:05 ` [Bug gdb/13901] " howarth at bromo dot med.uc.edu
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2012-03-25  1:05 UTC (permalink / raw)
  To: gdb-prs

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 <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.

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 <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 "x86_64-apple-darwin10.8.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

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.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-05-28 19:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-25  1:05 [Bug gdb/13901] New: no handler for the OS ABI "Darwin" when gdb 7.4 built as i386-apple-darwin10.8.0 howarth at bromo dot med.uc.edu
2012-03-25  1:05 ` [Bug gdb/13901] " howarth at bromo dot med.uc.edu
2012-03-25  1:31 ` howarth at bromo dot med.uc.edu
2012-04-02 11:57 ` cvs-commit at gcc dot gnu.org
2012-04-02 12:00 ` gingold at adacore dot com
2012-04-02 13:14 ` howarth at bromo dot med.uc.edu
2012-04-02 13:20 ` gingold at adacore dot com
2012-04-02 13:51 ` howarth at bromo dot med.uc.edu
2012-04-02 13:58 ` gingold at adacore dot com
2012-04-02 14:35 ` howarth at bromo dot med.uc.edu
2012-04-02 14:41 ` gingold at adacore dot com
2012-04-11 13:18 ` cvs-commit at gcc dot gnu.org
2012-04-11 13:43 ` cvs-commit at gcc dot gnu.org
2014-02-16 18:28 ` jackie.rosen at hushmail dot com
2014-05-28 19:43 ` schwab at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).