diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-07-09 22:01:59 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-07-09 22:01:59 +0000 |
commit | 1f639b85e969dfa78568951dd626d2032559766b (patch) | |
tree | 9135f8dbe11cdef847a01ce740d5c3be0ca61e7e /gdb/alphabsd-tdep.h | |
parent | 544a21e049129ed5788c7d5bc043ab5e49bcdca8 (diff) | |
download | gdb-1f639b85e969dfa78568951dd626d2032559766b.tar.gz |
* 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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/alphabsd-tdep.h b/gdb/alphabsd-tdep.h index e4348950345..9d749459904 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 */ |