Browse Source

* osabi.c (gdbarch_lookup_osabi): Do not return

GDB_OSABI_UNINITIALIZED.
drow-reverse-20070409-branch
Daniel Jacobowitz 20 years ago
parent
commit
59a59f840d
  1. 5
      gdb/ChangeLog
  2. 9
      gdb/osabi.c

5
gdb/ChangeLog

@ -1,3 +1,8 @@
2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
* osabi.c (gdbarch_lookup_osabi): Do not return
GDB_OSABI_UNINITIALIZED.
2006-11-22 Ulrich Weigand <uweigand@de.ibm.com>
* config/powerpc/spu-linux.mh: New file.

9
gdb/osabi.c

@ -207,14 +207,9 @@ gdbarch_lookup_osabi (bfd *abfd)
return user_selected_osabi;
/* If we don't have a binary, return the default OS ABI (if set) or
an inconclusive result (otherwise). */
unknown (otherwise). */
if (abfd == NULL)
{
if (GDB_OSABI_DEFAULT != GDB_OSABI_UNKNOWN)
return GDB_OSABI_DEFAULT;
else
return GDB_OSABI_UNINITIALIZED;
}
return GDB_OSABI_DEFAULT;
match = GDB_OSABI_UNKNOWN;
match_specific = 0;

Loading…
Cancel
Save