* 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 084f01b208b05cf601e30cf9ad028166f7d6dfe8..8f5cfdb95df76edcc0776e94b1e2b8aede494340 100644 (file)
@@ -1,3 +1,7 @@
+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>:
index 0b20a5acc46d0289b7654d79c5edfc4f030031e4..097d94140185142f7630cd6e8e31443240174179 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