OSDN Git Service

* regcache.c (struct regcache_descr): Remove outdated comment.
authorpalves <palves>
Tue, 25 Jan 2011 12:13:19 +0000 (12:13 +0000)
committerpalves <palves>
Tue, 25 Jan 2011 12:13:19 +0000 (12:13 +0000)
commita43dc983cccbc9fd1298f0454eaf397e594e53a9
treec1c092155bc1023c127e8179ab453e73c501a5f8
parent5f97bebbde96b0a17c6ef7e89356881a724a9c64
* regcache.c (struct regcache_descr): Remove outdated comment.
(init_regcache_descr): Remove sizeof_raw_register_valid_p
overallocate hack.
(regcache_xmalloc): Rename to ...
(regcache_xmalloc_1): ... this.  Add `readonly_p' parameter.
Allocate the regcache type accordingly.
(regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
(regcache_xfree): Asser the source is also readonly.  Copy sizeof
cooked registers, not raw.
(regcache_dup_no_passthrough): Delete.
(get_thread_arch_regcache): Use regcache_xmalloc_1.
* h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
mention obsolete write_register_bytes.
* regcache.h (regcache_dup_no_passthrough): Delete declaration.
gdb/ChangeLog
gdb/h8300-tdep.c
gdb/regcache.c
gdb/regcache.h