From 6c7d17ba3a5d982ae1c2b972417aedce0f404cf5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 4 Aug 2003 20:34:10 +0000 Subject: 2003-08-04 Andrew Cagney * 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 407553d..32fe0d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,19 @@ +2003-08-04 Andrew Cagney + + * 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. + 2003-08-04 Daniel Jacobowitz * Makefile.in (tui-interp.o): Update dependencies. -- cgit v1.1