Message ID | 94eb2c035cb0ff4a410540bdffe5@google.com |
---|---|
State | New |
Headers | show |
On Mon, Nov 07, 2016 at 11:01:11PM +0000, Doug Evans wrote: > Hi. > > While trying to fix an osabi problem I ran across this. > [could perhaps be checked in as obvious, but there's no rule requiring that] > > 2016-11-07 Doug Evans <dje@google.com> > > * osabi.c (user_osabi_state): Delete osabi_default, unused. Patch is good to me. user_osabi_state should only have two states, "auto" (set osabi auto) and "user" (set osabi anything.else).
diff --git a/gdb/osabi.c b/gdb/osabi.c index 8b44a85..0c4f98b 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -31,7 +31,7 @@ #endif /* State for the "set osabi" command. */ -static enum { osabi_auto, osabi_default, osabi_user } user_osabi_state; +static enum { osabi_auto, osabi_user } user_osabi_state; static enum gdb_osabi user_selected_osabi; static const char *gdb_osabi_available_names[GDB_OSABI_INVALID + 3] = { "auto",