From 8db616099e1906ac1720767ba6eb11d0b41bf5a1 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Mon, 20 Oct 2008 02:56:38 +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 8de31e977a..601ab2d3d7 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-19 Pedro Alves * python/python-value.c (value_object_methods) diff --git a/gdb/infrun.c b/gdb/infrun.c index 0aab669879..e2a7b197e9 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2237,6 +2237,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.11.0