2002-11-08 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 8 Nov 2002 23:59:58 +0000 (23:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 8 Nov 2002 23:59:58 +0000 (23:59 +0000)
commit38c968cfa667941d5e91d1d0654177c9897ef60b
tree167823cfaaf509ae0f86ae536bd2566bb59c956c
parent371a6e84e5b12ed0c971ec604cfe60b8e978372c
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.
gdb/ChangeLog
gdb/i386-linux-tdep.c
gdb/i386-tdep.c
gdb/i386-tdep.h