diff options
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 0673d9c..03b1dbf 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -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 |