diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-10-11 13:50:25 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-10-11 13:50:25 +0000 |
commit | 8446b36a38e57d7fb96c4c2a962b8765d70f248b (patch) | |
tree | d078966425187569e41495811bd9498373d2ec9f /gdb/i386-tdep.h | |
parent | 8edc77b9b48e63d0bb26c517e3c815d6fdc73dc1 (diff) | |
download | gdb-8446b36a38e57d7fb96c4c2a962b8765d70f248b.zip gdb-8446b36a38e57d7fb96c4c2a962b8765d70f248b.tar.gz gdb-8446b36a38e57d7fb96c4c2a962b8765d70f248b.tar.bz2 |
* i386-tdep.c (i386_regset_from_core_section): New function.
(i386_gdbarch_init): Initialize regset_from_core_section if
appropriate.
* i386-tdep.h (i386_regset_from_core_section): New declaration.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index b430950..59668d6 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -189,6 +189,12 @@ extern char const *i386_register_name (int reg); extern int i386_register_reggroup_p (struct gdbarch *gdbarch, int regnum, struct reggroup *group); +/* Return the appropriate register set for the core section identified + by SECT_NAME and SECT_SIZE. */ +extern const struct regset * + i386_regset_from_core_section (struct gdbarch *gdbarch, + const char *sect_name, size_t sect_size); + /* Initialize a basic ELF architecture variant. */ extern void i386_elf_init_abi (struct gdbarch_info, struct gdbarch *); |