aboutsummaryrefslogtreecommitdiff
path: root/gdb/alphabsd-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-07-09 22:01:59 +0000
committerMark Kettenis <kettenis@gnu.org>2006-07-09 22:01:59 +0000
commitb0ca85736544b15d99386b9da5d39586a4c5eb97 (patch)
treecbf14efb0f5f388c9ac8948fff895361602486ba /gdb/alphabsd-tdep.h
parent3b03cc436125ee5a53661fa21416f0d63ab042db (diff)
downloadgdb-b0ca85736544b15d99386b9da5d39586a4c5eb97.zip
gdb-b0ca85736544b15d99386b9da5d39586a4c5eb97.tar.gz
gdb-b0ca85736544b15d99386b9da5d39586a4c5eb97.tar.bz2
* alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
prototype. * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle a.out-style core file format here. Make global. (alphanbsd_regset_from_core_section): Remove. (alphanbsd_sigtramp_offset): Make static. (alphanbsd_aout_init_abi): Remove. (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for a.out style core files. (_initialize_alphanbsd_tdep): Do not register a handler for GDB_OSABI_NETBSD_AOUT.
Diffstat (limited to 'gdb/alphabsd-tdep.h')
-rw-r--r--gdb/alphabsd-tdep.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/alphabsd-tdep.h b/gdb/alphabsd-tdep.h
index e434895..9d74945 100644
--- a/gdb/alphabsd-tdep.h
+++ b/gdb/alphabsd-tdep.h
@@ -27,5 +27,14 @@ void alphabsd_fill_reg (char *, int);
void alphabsd_supply_fpreg (char *, int);
void alphabsd_fill_fpreg (char *, int);
+
+
+/* Functions exported from alphanbsd-tdep.c. */
+
+/* Return the appropriate register set for the core section identified
+ by SECT_NAME and SECT_SIZE. */
+extern const struct regset *
+ alphanbsd_regset_from_core_section (struct gdbarch *gdbarch,
+ const char *sect_name, size_t len);
#endif /* alphabsd-tdep.h */