osabi.c (user_osabi_state): Delete osabi_default, unused.
Commit Message
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.
Comments
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).
@@ -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",