2002-11-02 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 2 Nov 2002 15:13:34 +0000 (15:13 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 2 Nov 2002 15:13:34 +0000 (15:13 +0000)
commitb59ff9d5ff023638dba11477c822313178d14e4d
treebc1422c9058681ce2e70b5f9d8777c45332c21ea
parent4caf0990c1ff56195c12538598d1a2c2623328c4
2002-11-02  Andrew Cagney  <cagney@redhat.com>

* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column.  When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.
gdb/ChangeLog
gdb/Makefile.in
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/regcache.c
gdb/reggroups.c [new file with mode: 0644]
gdb/reggroups.h [new file with mode: 0644]