aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/value.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 084f01b..8f5cfdb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
+ * value.c (value_contents_writeable): Use value_contents_raw.
+
+2005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
+
Suggested by Shaun Jackman <sjackman@gmail.com>:
* defs.h (print_transfer_performance): Update prototype.
* m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday
diff --git a/gdb/value.c b/gdb/value.c
index 0b20a5a..097d941 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -355,7 +355,7 @@ value_contents_writeable (struct value *value)
{
if (value->lazy)
value_fetch_lazy (value);
- return value->aligner.contents;
+ return value_contents_raw (value);
}
/* Return non-zero if VAL1 and VAL2 have the same contents. Note that