This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] osabi.c (user_osabi_state): Delete osabi_default, unused.


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.

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",


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]