From fc0c53a0cd0660f9205d1f599ce89779cfd293c5 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 2 Aug 2005 03:13:50 +0000 Subject: [PATCH] * value.c (value_contents_writeable): Use value_contents_raw. --- gdb/ChangeLog | 4 ++++ gdb/value.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 084f01b208b..8f5cfdb95df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-08-01 Daniel Jacobowitz + + * value.c (value_contents_writeable): Use value_contents_raw. + 2005-08-01 Daniel Jacobowitz Suggested by Shaun Jackman : diff --git a/gdb/value.c b/gdb/value.c index 0b20a5acc46..097d9414018 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 -- 2.30.2