diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-11-22 17:32:07 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-11-22 17:32:07 +0000 |
commit | 52a7d4c38cd8478963148d927062762447e0e558 (patch) | |
tree | 09c1b5af287923c374b1f18d0977ca423fdd0ba9 /gdb/osabi.c | |
parent | f93c0cefe3c284e32b28b098f28810e2d066c2e2 (diff) | |
download | gdb-52a7d4c38cd8478963148d927062762447e0e558.tar.gz |
* osabi.c (gdbarch_lookup_osabi): Do not return
GDB_OSABI_UNINITIALIZED.
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index e8c5ed844f3..f5a2c8adabf 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; |