This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog regcache.c regcache.h
- From: cagney at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 13 Nov 2002 17:59:42 -0000
- Subject: src/gdb ChangeLog regcache.c regcache.h
CVSROOT: /cvs/src
Module name: src
Changes by: cagney@sourceware.org 2002-11-13 09:59:41
Modified files:
gdb : ChangeLog regcache.c regcache.h
Log message:
2002-11-13 Andrew Cagney <cagney@redhat.com>
* regcache.c (struct regcache): Replace passthough_p with
readonly_p.
(regcache_xmalloc): Initialize readonly_p.
(build_regcache): Initialize readonly_p.
(regcache_save): New function.
(regcache_restore): New function.
(regcache_cpy): Re-implement using regcache_save and
regcache_restore.
(regcache_raw_read): Update.
(regcache_cooked_read): When a read-only cache, checked for cached
pseudo register values.
(regcache_raw_write): Assert that the cache is not read-only.
Remove code handling a non-passthrough cache.
* regcache.h (regcache_save): Declare.
(regcache_restore): Declare.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.3447&r2=1.3448
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/regcache.c.diff?cvsroot=src&r1=1.65&r2=1.66
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/regcache.h.diff?cvsroot=src&r1=1.24&r2=1.25