diff options
Diffstat (limited to 'gdbserver/tdesc.cc')
-rw-r--r-- | gdbserver/tdesc.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdbserver/tdesc.cc b/gdbserver/tdesc.cc index 7f11120..d052f43 100644 --- a/gdbserver/tdesc.cc +++ b/gdbserver/tdesc.cc @@ -179,8 +179,9 @@ tdesc_osabi_name (const struct target_desc *target_desc) /* See gdbsupport/tdesc.h. */ void -set_tdesc_osabi (struct target_desc *target_desc, const char *name) +set_tdesc_osabi (struct target_desc *target_desc, enum gdb_osabi osabi) { + const char *name = gdbarch_osabi_name (osabi); target_desc->osabi = make_unique_xstrdup (name); } |