diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-08-02 03:13:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-08-02 03:13:50 +0000 |
commit | fc0c53a0cd0660f9205d1f599ce89779cfd293c5 (patch) | |
tree | 7efb323d84a450647d5ab2aaf2b7358c00794406 | |
parent | 2b71414df9c47e9a1deca9885bf59ecbfa82a0ad (diff) | |
download | gdb-fc0c53a0cd0660f9205d1f599ce89779cfd293c5.zip gdb-fc0c53a0cd0660f9205d1f599ce89779cfd293c5.tar.gz gdb-fc0c53a0cd0660f9205d1f599ce89779cfd293c5.tar.bz2 |
* value.c (value_contents_writeable): Use value_contents_raw.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/value.c | 2 |
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 |