Add missing debug output for TARGET_WAITKIND_NO_HISTORY
Pedro Alves
pedro@codesourcery.com
Mon Oct 24 14:08:00 GMT 2011
Applied.
--
Pedro Alves
2011-10-24 Pedro Alves <pedro@codesourcery.com>
gdb/
* infrun.c (handle_inferior_event): Add debug output for
TARGET_WAITKIND_NO_HISTORY.
---
gdb/infrun.c | 2 ++
1 file changed, 2 insertions(+)
Index: src/gdb/infrun.c
===================================================================
--- src.orig/gdb/infrun.c 2011-10-19 15:21:41.921526198 +0100
+++ src/gdb/infrun.c 2011-10-19 15:22:09.021526202 +0100
@@ -3656,6 +3656,8 @@ handle_inferior_event (struct execution_
break;
case TARGET_WAITKIND_NO_HISTORY:
+ if (debug_infrun)
+ fprintf_unfiltered (gdb_stdlog, "infrun: TARGET_WAITKIND_NO_HISTORY\n");
/* Reverse execution: target ran out of history info. */
stop_pc = regcache_read_pc (get_thread_regcache (ecs->ptid));
print_no_history_reason ();
More information about the Gdb-patches
mailing list