diff options
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index 40c86e7..d4a9806 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -666,11 +666,13 @@ _initialize_gdb_osabi () generic_elf_osabi_sniffer); /* Register the "set osabi" command. */ + user_osabi_state = osabi_auto; + set_osabi_string = gdb_osabi_available_names[0]; + gdb_assert (strcmp (set_osabi_string, "auto") == 0); add_setshow_enum_cmd ("osabi", class_support, gdb_osabi_available_names, &set_osabi_string, _("Set OS ABI of target."), _("Show OS ABI of target."), NULL, set_osabi, show_osabi, &setlist, &showlist); - user_osabi_state = osabi_auto; } |