From 314685139bd1f7950b98b55a3af26fdfa599f765 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Mon, 20 Oct 2008 02:45:29 +0000 Subject: [PATCH] 2008-10-19 Hui Zhu * infrun.c (handle_inferior_event): Set "stop_pc" when TARGET_WAITKIND_NO_HISTORY. --- gdb/ChangeLog | 5 +++++ gdb/infrun.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 79382ee45e0..af41068ed34 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-10-19 Hui Zhu + + * infrun.c (handle_inferior_event): Set "stop_pc" when + TARGET_WAITKIND_NO_HISTORY. + 2008-10-18 Hui Zhu Remove "to_support_record_wait". diff --git a/gdb/infrun.c b/gdb/infrun.c index 4bac5ea5663..fc388a7ab5a 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2162,6 +2162,7 @@ handle_inferior_event (struct execution_control_state *ecs) case TARGET_WAITKIND_NO_HISTORY: /* Reverse execution: target ran out of history info. */ + stop_pc = read_pc (); print_stop_reason (NO_HISTORY, 0); stop_stepping (ecs); return; -- 2.47.2