diff options
author | Hui Zhu <teawater@gmail.com> | 2008-10-20 02:56:39 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2008-10-20 02:56:39 +0000 |
commit | 40e12b06fe729af7daa9ef2759828047d63d773d (patch) | |
tree | 5082e6e17228384904dd52197203c836624f27ab /gdb/infrun.c | |
parent | 8fc4ee9b84d1ea2eb9c3ac71e62abcf2dcb3e895 (diff) | |
download | fsf-binutils-gdb-40e12b06fe729af7daa9ef2759828047d63d773d.zip fsf-binutils-gdb-40e12b06fe729af7daa9ef2759828047d63d773d.tar.gz fsf-binutils-gdb-40e12b06fe729af7daa9ef2759828047d63d773d.tar.bz2 |
2008-10-19 Hui Zhu <teawater@gmail.com>
* infrun.c (handle_inferior_event): Set "stop_pc" when
TARGET_WAITKIND_NO_HISTORY.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 0aab669..e2a7b19 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; |