summaryrefslogtreecommitdiff
path: root/gdb/findcmd.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-05-27 18:53:47 +0000
committerTom Tromey <tromey@redhat.com>2010-05-27 18:53:47 +0000
commit7ecb917ec886fd48ee38b0861c51f36c0576c36a (patch)
tree87282da0125d081290b6535bb9b4f9ebc81174b3 /gdb/findcmd.c
parentf42a0a33695083a8ae1c94ec868165e03a7dba34 (diff)
downloadbinutils-gdb-7ecb917ec886fd48ee38b0861c51f36c0576c36a.tar.gz
* findcmd.c (parse_find_args): Use value_contents, not
value_contents_raw.
Diffstat (limited to 'gdb/findcmd.c')
-rw-r--r--gdb/findcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index 8e9a4b8c41d..ac63a9e4a95 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;
}