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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/findcmd.c | 2 |
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; } |