aboutsummaryrefslogtreecommitdiff
path: root/gdb/osabi.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/osabi.h')
-rw-r--r--gdb/osabi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/osabi.h b/gdb/osabi.h
index 9a1681d..2d828d5 100644
--- a/gdb/osabi.h
+++ b/gdb/osabi.h
@@ -52,4 +52,8 @@ void gdbarch_init_osabi (struct gdbarch_info, struct gdbarch *);
void generic_elf_osabi_sniff_abi_tag_sections (bfd *, asection *,
enum gdb_osabi *);
+/* Return a string version of OSABI. This is used when generating code
+ which calls set_tdesc_osabi and an 'enum gdb_osabi' value is needed. */
+const char *gdbarch_osabi_enum_name (enum gdb_osabi osabi);
+
#endif /* OSABI_H */