* findcmd.c (parse_find_args): Use value_contents, not
authorTom Tromey <tromey@redhat.com>
Thu, 27 May 2010 18:53:47 +0000 (18:53 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 27 May 2010 18:53:47 +0000 (18:53 +0000)
value_contents_raw.

gdb/ChangeLog
gdb/findcmd.c

index 85dd6801a27d80370cf516b9fe1ed1b23d88a4e0..e0d8618cb731d4f337cc9f981c90659badaaa150 100644 (file)
@@ -1,3 +1,8 @@
+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
index 8e9a4b8c41d671b75fae8de72221cd5ce5c9e1a7..ac63a9e4a95f745aefadaa659485f26fd32b8fc4 100644 (file)
@@ -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;
        }