This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/13901] New: no handler for the OS ABI "Darwin" when gdb 7.4built as i386-apple-darwin10.8.0


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]