aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-01-25 12:13:20 +0000
committerPedro Alves <palves@redhat.com>2011-01-25 12:13:20 +0000
commit99e42fd82a90f6cd7aec4f521c7afc157ee10807 (patch)
tree5ef7e1c9000b0855631f3f1c627b3c386045009a /gdb/ChangeLog
parentf7605bc29f0c6454f73819850dd114cdba30d9fb (diff)
downloadgdb-99e42fd82a90f6cd7aec4f521c7afc157ee10807.zip
gdb-99e42fd82a90f6cd7aec4f521c7afc157ee10807.tar.gz
gdb-99e42fd82a90f6cd7aec4f521c7afc157ee10807.tar.bz2
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ecb1724..0aeb5b7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,22 @@
2011-01-25 Pedro Alves <pedro@codesourcery.com>
+ * 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.
+
+2011-01-25 Pedro Alves <pedro@codesourcery.com>
+
Stop remote_read_bytes from handling partial reads itself.
* remote-fileio.c: Include target.h.