* value.c (value_contents_writeable): Use value_contents_raw.
authorDaniel Jacobowitz <drow@false.org>
Tue, 2 Aug 2005 03:13:50 +0000 (03:13 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 2 Aug 2005 03:13:50 +0000 (03:13 +0000)
gdb/ChangeLog
gdb/value.c

index 084f01b..8f5cfdb 100644 (file)
@@ -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
index 0b20a5a..097d941 100644 (file)
@@ -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