diff options
author | Tom Tromey <tromey@redhat.com> | 2010-05-27 18:53:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-05-27 18:53:47 +0000 |
commit | 7ecb917ec886fd48ee38b0861c51f36c0576c36a (patch) | |
tree | 87282da0125d081290b6535bb9b4f9ebc81174b3 /gdb/findcmd.c | |
parent | f42a0a33695083a8ae1c94ec868165e03a7dba34 (diff) | |
download | gdb-7ecb917ec886fd48ee38b0861c51f36c0576c36a.zip gdb-7ecb917ec886fd48ee38b0861c51f36c0576c36a.tar.gz gdb-7ecb917ec886fd48ee38b0861c51f36c0576c36a.tar.bz2 |
* findcmd.c (parse_find_args): Use value_contents, not
value_contents_raw.
Diffstat (limited to 'gdb/findcmd.c')
-rw-r--r-- | gdb/findcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |