From: Hui Zhu Date: Mon, 20 Oct 2008 02:45:29 +0000 (+0000) Subject: 2008-10-19 Hui Zhu X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=314685139bd1f7950b98b55a3af26fdfa599f765;p=thirdparty%2Fbinutils-gdb.git 2008-10-19 Hui Zhu * infrun.c (handle_inferior_event): Set "stop_pc" when TARGET_WAITKIND_NO_HISTORY. --- 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;