aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/findcmd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85dd680..e0d8618 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2010-05-27 Tom Tromey <tromey@redhat.com>
+ * findcmd.c (parse_find_args): Use value_contents, not
+ value_contents_raw.
+
+2010-05-27 Tom Tromey <tromey@redhat.com>
+
* alpha-tdep.c (alpha_push_dummy_call): Make alpha_arg.contents
const. Use value_contents, not value_contents_writeable.
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index 8e9a4b8..ac63a9e 100644
--- a/gdb/findcmd.c
+++ b/gdb/findcmd.c
@@ -211,7 +211,7 @@ parse_find_args (char *args, ULONGEST *max_countp,
}
else
{
- memcpy (pattern_buf_end, value_contents_raw (v), val_bytes);
+ memcpy (pattern_buf_end, value_contents (v), val_bytes);
pattern_buf_end += val_bytes;
}