2008-10-19 Hui Zhu <teawater@gmail.com>

* infrun.c (handle_inferior_event): Set "stop_pc" when
	TARGET_WAITKIND_NO_HISTORY.
This commit is contained in:
Hui Zhu
2008-10-20 02:56:39 +00:00
parent 8fc4ee9b84
commit 40e12b06fe
2 changed files with 6 additions and 0 deletions

View 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-19 Pedro Alves <pedro@codesourcery.com>
* python/python-value.c (value_object_methods)

View 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;