]> Git Repo - binutils.git/commitdiff
2008-10-19 Hui Zhu <[email protected]>
authorHui Zhu <[email protected]>
Mon, 20 Oct 2008 02:56:39 +0000 (02:56 +0000)
committerHui Zhu <[email protected]>
Mon, 20 Oct 2008 02:56:39 +0000 (02:56 +0000)
* infrun.c (handle_inferior_event): Set "stop_pc" when
TARGET_WAITKIND_NO_HISTORY.

gdb/ChangeLog
gdb/infrun.c

index 8de31e977a07fd10d810466303b5132a81e2aef9..601ab2d3d7c6e1c1e0257cc63970f2f9342e2935 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-19  Hui Zhu  <[email protected]>
+
+       * infrun.c (handle_inferior_event): Set "stop_pc" when
+       TARGET_WAITKIND_NO_HISTORY.
+
 2008-10-19  Pedro Alves  <[email protected]>
 
        * python/python-value.c (value_object_methods)
index 0aab669879390af40f9c1d82f60635c1ffd5d736..e2a7b197e94b398c755124558dafc5ab5f9d8656 100644 (file)
@@ -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;
This page took 0.039513 seconds and 4 git commands to generate.