diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-11-22 17:32:07 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-11-22 17:32:07 +0000 |
commit | 59a59f840d4afb9f73cd3e22e0e6e331a6838521 (patch) | |
tree | 301351856eeed65bd815eec46139f300066db009 /gdb | |
parent | c1d88655bbf33f050943125801b2bdc5d1a73b8d (diff) | |
download | fsf-binutils-gdb-59a59f840d4afb9f73cd3e22e0e6e331a6838521.zip fsf-binutils-gdb-59a59f840d4afb9f73cd3e22e0e6e331a6838521.tar.gz fsf-binutils-gdb-59a59f840d4afb9f73cd3e22e0e6e331a6838521.tar.bz2 |
* osabi.c (gdbarch_lookup_osabi): Do not return
GDB_OSABI_UNINITIALIZED.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/osabi.c | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 881cddb..ff40a8b 100644 --- a/gdb/ChangeLog +++ b/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. diff --git a/gdb/osabi.c b/gdb/osabi.c index e8c5ed8..f5a2c8a 100644 --- a/gdb/osabi.c +++ b/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; |