Use gdb:array_view in call_function_by_hand & friends
[deliverable/binutils-gdb.git] / gdb / valops.c
index c45caefbf1e039d7581a20bb6de589c9bf0ef200..4758b5cdfc6ab0c6cfe8c6ea59074fc400456287 100644 (file)
@@ -184,7 +184,7 @@ value_allocate_space_in_inferior (int len)
   struct value *blocklen;
 
   blocklen = value_from_longest (builtin_type (gdbarch)->builtin_int, len);
-  val = call_function_by_hand (val, NULL, 1, &blocklen);
+  val = call_function_by_hand (val, NULL, blocklen);
   if (value_logical_not (val))
     {
       if (!target_has_execution)
This page took 0.025803 seconds and 4 git commands to generate.