diff options
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index 6024419..778dedc 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -596,7 +596,7 @@ show_osabi (struct ui_file *file, int from_tty, struct cmd_list_element *c, if (user_osabi_state == osabi_auto) fprintf_filtered (file, _("The current OS ABI is \"auto\" (currently \"%s\").\n"), - gdbarch_osabi_name (gdbarch_osabi (current_gdbarch))); + gdbarch_osabi_name (gdbarch_osabi (get_current_arch ()))); else fprintf_filtered (file, _("The current OS ABI is \"%s\".\n"), gdbarch_osabi_name (user_selected_osabi)); |