diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-13 17:59:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-13 17:59:40 +0000 |
commit | 2d28509afbfaaf187508a0c85ae3fb98d96d185b (patch) | |
tree | dca4c352d87223e637b4749987440db0fca09200 /COPYING.LIBGLOSS | |
parent | 067df2e5b48bf819c7edc60044bdde38b5f2ece7 (diff) | |
download | gdb-2d28509afbfaaf187508a0c85ae3fb98d96d185b.zip gdb-2d28509afbfaaf187508a0c85ae3fb98d96d185b.tar.gz gdb-2d28509afbfaaf187508a0c85ae3fb98d96d185b.tar.bz2 |
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.
Diffstat (limited to 'COPYING.LIBGLOSS')
0 files changed, 0 insertions, 0 deletions