This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog infcmd.c regcache.c reggroup ...
- From: cagney at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 4 Aug 2003 20:34:11 -0000
- Subject: src/gdb ChangeLog infcmd.c regcache.c reggroup ...
CVSROOT: /cvs/src
Module name: src
Changes by: cagney@sourceware.org 2003-08-04 20:34:11
Modified files:
gdb : ChangeLog infcmd.c regcache.c reggroups.c
reggroups.h
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.4574&r2=1.4575
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&r1=1.85&r2=1.86
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/regcache.c.diff?cvsroot=src&r1=1.91&r2=1.92
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/reggroups.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/reggroups.h.diff?cvsroot=src&r1=1.2&r2=1.3