aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-08 23:59:58 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-08 23:59:58 +0000
commit38c968cfa667941d5e91d1d0654177c9897ef60b (patch)
tree167823cfaaf509ae0f86ae536bd2566bb59c956c /gdb/i386-tdep.h
parent371a6e84e5b12ed0c971ec604cfe60b8e978372c (diff)
downloadgdb-38c968cfa667941d5e91d1d0654177c9897ef60b.zip
gdb-38c968cfa667941d5e91d1d0654177c9897ef60b.tar.gz
gdb-38c968cfa667941d5e91d1d0654177c9897ef60b.tar.bz2
2002-11-08 Andrew Cagney <ac131313@redhat.com>
* i386-linux-tdep.c: Include "reggroups.h". (i386_linux_register_reggroup_p): New function. (i386_linux_init_abi): Set register_reggroup_p to i386_linux_register_reggroup_p. * i386-tdep.h (i386_register_reggroup_p): Declare. * i386-tdep.c: Include "reggroups.h". (i386_init_reggroups): New function. (i386_add_reggroups): New function. (i386_register_reggroup_p): New function. (i386_sse_reggroup, i386_mmx_reggroup): New variables. (_initialize_i386_tdep): Call i386_init_reggroups. (i386_gdbarch_init): Set register_reggroup_p and add in the i386 specific reggroups.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r--gdb/i386-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index 5980617..627cb0a 100644
--- a/gdb/i386-tdep.h
+++ b/gdb/i386-tdep.h
@@ -167,6 +167,10 @@ extern int i386_frameless_signal_p (struct frame_info *frame);
/* Return the name of register REG. */
extern char const *i386_register_name (int reg);
+/* Return non-zero if REGNUM is a member of the specified group. */
+extern int i386_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
+ struct reggroup *group);
+
/* Initialize a basic ELF architecture variant. */
extern void i386_elf_init_abi (struct gdbarch_info, struct gdbarch *);