summaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-10-11 13:50:25 +0000
committerMark Kettenis <kettenis@gnu.org>2003-10-11 13:50:25 +0000
commit842f18cfeeae7d506bd91e74d56e8aeecd7cecff (patch)
tree332a6494949de2ecb69687d2cae3bc4bc18eb8f0 /gdb/i386-tdep.h
parentd6943994338e939628e1790b63c693261eab00ba (diff)
downloadgdb-842f18cfeeae7d506bd91e74d56e8aeecd7cecff.tar.gz
* 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index b4309501e85..59668d6b608 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 *);