This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog h8300-tdep.c regcache.c regc ...
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 25 Jan 2011 12:13:21 -0000
- Subject: src/gdb ChangeLog h8300-tdep.c regcache.c regc ...
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2011-01-25 12:13:21
Modified files:
gdb : ChangeLog h8300-tdep.c regcache.c regcache.h
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12497&r2=1.12498
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/h8300-tdep.c.diff?cvsroot=src&r1=1.127&r2=1.128
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/regcache.c.diff?cvsroot=src&r1=1.183&r2=1.184
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/regcache.h.diff?cvsroot=src&r1=1.70&r2=1.71