Use new to allocate mapped_index
[deliverable/binutils-gdb.git] / gdb / ia64-tdep.c
index 4f02f0537588351e5b4214d5986f84692968a32b..26e112e7bc5abeb05ae63b917a45b44f3d9e9af1 100644 (file)
@@ -2660,7 +2660,7 @@ getunwind_table (gdb_byte **buf_p)
      we should find a way to override the corefile layer's
      xfer_partial method.  */
 
-  x = target_read_alloc (&current_target, TARGET_OBJECT_UNWIND_TABLE,
+  x = target_read_alloc (target_stack, TARGET_OBJECT_UNWIND_TABLE,
                         NULL, buf_p);
 
   return x;
This page took 0.023659 seconds and 4 git commands to generate.