diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-08 23:59:58 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-08 23:59:58 +0000 |
commit | 8a3faa219b0c3ce2e2b20074b975cd5700b5e687 (patch) | |
tree | e4f3212c942231514608936c86c567420dc0e82f /gdb/i386-tdep.h | |
parent | 4c3b76ec8dd869f5f721ec1d0727d0ef285fe117 (diff) | |
download | gdb-8a3faa219b0c3ce2e2b20074b975cd5700b5e687.tar.gz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 5980617acea..627cb0a974e 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 *); |