* [PATCH] osabi.c (user_osabi_state): Delete osabi_default, unused.
@ 2016-11-07 23:01 Doug Evans
2016-11-08 20:22 ` Yao Qi
0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2016-11-07 23:01 UTC (permalink / raw)
To: gdb-patches
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",
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] osabi.c (user_osabi_state): Delete osabi_default, unused.
2016-11-07 23:01 [PATCH] osabi.c (user_osabi_state): Delete osabi_default, unused Doug Evans
@ 2016-11-08 20:22 ` Yao Qi
0 siblings, 0 replies; 2+ messages in thread
From: Yao Qi @ 2016-11-08 20:22 UTC (permalink / raw)
To: Doug Evans; +Cc: gdb-patches
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).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-08 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 23:01 [PATCH] osabi.c (user_osabi_state): Delete osabi_default, unused Doug Evans
2016-11-08 20:22 ` Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox