2009-10-19 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / infcall.c
index 0673d9c0d1fce592f6b9d219aa72de520d7fe514..03b1dbf9bbffa4f4ae907fbb423551d97835b21b 100644 (file)
@@ -731,6 +731,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
     struct breakpoint *bpt;
     struct symtab_and_line sal;
     init_sal (&sal);           /* initialize to zeroes */
+    sal.pspace = current_program_space;
     sal.pc = bp_addr;
     sal.section = find_pc_overlay (sal.pc);
     /* Sanity.  The exact same SP value is returned by
This page took 0.025363 seconds and 4 git commands to generate.