2003-08-04 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 4 Aug 2003 20:34:10 +0000 (20:34 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 4 Aug 2003 20:34:10 +0000 (20:34 +0000)
commit6c7d17ba3a5d982ae1c2b972417aedce0f404cf5
tree2608b73719576cc5a6c1aa63742969c4ded95f3c
parent95cd630eaeeb7c59acb5129df8a18b808dfabe23
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* reggroups.c (struct reggroup_el): Define.
(struct reggroups): Delete field "nr_group".  Replace array
"group" with a "first" to "last" linked list.
(reggroups_init): Update.  Allocate using gdbarch's obstack.
(reggroups_free): Delete function.
(add_group): Update.  Add "el" parameter.
(reggroup_add): Pass gdbarch obstack allocated space to add_group.
(default_groups): Update.
(reggroup_next): Replace reggroups.
(reggroups_dump): Update.
(_initialize_reggroup): Pass XMALLOC allocated space to add_group.
* regcache.c (regcache_dump): Use reggroup_next instead of reggroups.
* infcmd.c (registers_info): Use reggroup_next instead of reggroups.
gdb/ChangeLog
gdb/infcmd.c
gdb/regcache.c
gdb/reggroups.c
gdb/reggroups.h
This page took 0.024702 seconds and 4 git commands to generate.