2009-10-20 Michael Snyder * infrun.c (handle_inferior_event): Add pspace field to sal for reverse execution cases. Index: infrun.c =================================================================== RCS file: /cvs/src/src/gdb/infrun.c,v retrieving revision 1.413 diff -u -p -r1.413 infrun.c --- infrun.c 19 Oct 2009 09:51:41 -0000 1.413 +++ infrun.c 20 Oct 2009 18:48:12 -0000 @@ -4261,6 +4261,7 @@ infrun: not switching back to stepped th struct symtab_and_line tmp_sal; tmp_sal = find_pc_line (ecs->stop_func_start, 0); + tmp_sal.pspace = get_frame_program_space (frame); if (tmp_sal.line != 0) { if (execution_direction == EXEC_REVERSE) @@ -4328,6 +4329,7 @@ infrun: not switching back to stepped th struct symtab_and_line sr_sal; init_sal (&sr_sal); sr_sal.pc = ecs->stop_func_start; + sr_sal.pspace = get_frame_program_space (frame); insert_step_resume_breakpoint_at_sal (gdbarch, sr_sal, null_frame_id); keep_going (ecs);