]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-10-19 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Mon, 20 Oct 2008 02:45:29 +0000 (02:45 +0000)
committerHui Zhu <teawater@gmail.com>
Mon, 20 Oct 2008 02:45:29 +0000 (02:45 +0000)
* infrun.c (handle_inferior_event): Set "stop_pc" when
TARGET_WAITKIND_NO_HISTORY.

gdb/ChangeLog
gdb/infrun.c

index 79382ee45e0bcff6d9d802ac16b5c29ea3c12f3b..af41068ed34532b66f262fee7e43edc310f8c000 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-19  Hui Zhu  <teawater@gmail.com>
+
+       * infrun.c (handle_inferior_event): Set "stop_pc" when
+       TARGET_WAITKIND_NO_HISTORY.
+
 2008-10-18  Hui Zhu  <teawater@gmail.com>
 
        Remove "to_support_record_wait".
index 4bac5ea5663c739c50481f038ae3a0238bc53ed0..fc388a7ab5ad33aea2b69a04fa75a07f865ecfac 100644 (file)
@@ -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;