aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2009-10-20 19:46:22 +0000
committerMichael Snyder <msnyder@vmware.com>2009-10-20 19:46:22 +0000
commit9d1807c37cfc3dd30a4a4c4ef98f94be8d13d4b0 (patch)
treef32e1fe2a8c1468015d9673d42da3fa15483de83 /gdb
parent20176d8fbf4a9862f0347038013c6807e90f5881 (diff)
downloadgdb-9d1807c37cfc3dd30a4a4c4ef98f94be8d13d4b0.zip
gdb-9d1807c37cfc3dd30a4a4c4ef98f94be8d13d4b0.tar.gz
gdb-9d1807c37cfc3dd30a4a4c4ef98f94be8d13d4b0.tar.bz2
2009-10-20 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* infrun.c (handle_inferior_event): Add pspace field to sal for reverse execution cases.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2f895a0..f2815d3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-20 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
+
+ * infrun.c (handle_inferior_event): Add pspace field to sal
+ for reverse execution cases.
+
2009-10-20 Ken Werner <ken@linux.vnet.ibm.com>
* go32-nat.c (go32_create_inferior): Use inferior_appeared, not
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 33843b2..a2916b4 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4261,6 +4261,7 @@ infrun: not switching back to stepped thread, it has vanished\n");
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 thread, it has vanished\n");
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);