aboutsummaryrefslogtreecommitdiff
path: root/gdb/osabi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r--gdb/osabi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c
index 57af407..0fced7b 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -588,6 +588,7 @@ set_osabi (char *args, int from_tty, struct cmd_list_element *c)
else
{
int i;
+
for (i = 1; i < GDB_OSABI_INVALID; i++)
if (strcmp (set_osabi_string, gdbarch_osabi_name (i)) == 0)
{