aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-14 11:30:37 +0000
committerPedro Alves <palves@redhat.com>2011-02-14 11:30:37 +0000
commit39d37385568d667a2f5fab7e10adda5813a54467 (patch)
tree4d9623ad33dc78fd0a5036ef9a97eaaa28bdc914 /gdb/ChangeLog
parent06d72e16c409574a7facc283ef1fcd7c5fd5fa05 (diff)
downloadgdb-39d37385568d667a2f5fab7e10adda5813a54467.zip
gdb-39d37385568d667a2f5fab7e10adda5813a54467.tar.gz
gdb-39d37385568d667a2f5fab7e10adda5813a54467.tar.bz2
gdb/
* value.h (value_contents_copy, value_contents_copy_raw): Declare. * value.c (value_contents_copy_raw, value_contents_copy): New functions. (value_primitive_field): Use value_contents_copy_raw instead of memcpy. * valops.c (value_fetch_lazy): Use value_contents_copy instead of memcpy. (value_array, value_slice): Ditto. * valarith.c (value_subscripted_rvalue): Use value_contents_copy_raw instead of memcpy. gdb/testsuite/ * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new tests for building arrays from unavailable values, subscripting non-memory rvalue unvailable arrays, and accessing fields or baseclasses of non-lazy unavailable values, * gdb.trace/unavailable.cc (small_struct, small_struct_b): New struct types. (g_smallstruct, g_smallstruct_b): New globals.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b77cdf2..6cbfdf8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,18 @@
2011-02-14 Pedro Alves <pedro@codesourcery.com>
+ * value.h (value_contents_copy, value_contents_copy_raw): Declare.
+ * value.c (value_contents_copy_raw, value_contents_copy): New
+ functions.
+ (value_primitive_field): Use value_contents_copy_raw instead of
+ memcpy.
+ * valops.c (value_fetch_lazy): Use value_contents_copy instead of
+ memcpy.
+ (value_array, value_slice): Ditto.
+ * valarith.c (value_subscripted_rvalue): Use
+ value_contents_copy_raw instead of memcpy.
+
+2011-02-14 Pedro Alves <pedro@codesourcery.com>
+
<unavailable> references.
* valops.c (get_value_at): Use value_from_contents_and_address,