diff options
Diffstat (limited to 'gdb/arm-tdep.h')
-rw-r--r-- | gdb/arm-tdep.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h index 7b369d5..a5fc99d 100644 --- a/gdb/arm-tdep.h +++ b/gdb/arm-tdep.h @@ -18,7 +18,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef ARM_TDEP_H +#define ARM_TDEP_H + /* Forward declarations. */ +struct gdbarch; struct regset; /* Register numbers of various important registers. Note that some of @@ -176,3 +180,14 @@ int arm_pc_is_thumb (CORE_ADDR); CORE_ADDR thumb_get_next_pc (CORE_ADDR); CORE_ADDR arm_get_next_pc (CORE_ADDR); + +/* Functions exported from armbsd-tdep.h. */ + +/* Return the appropriate register set for the core section identified + by SECT_NAME and SECT_SIZE. */ + +extern const struct regset * + armbsd_regset_from_core_section (struct gdbarch *gdbarch, + const char *sect_name, size_t sect_size); + +#endif /* arm-tdep.h */ |