This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Add missing debug output for TARGET_WAITKIND_NO_HISTORY
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 24 Oct 2011 15:01:50 +0100
- Subject: Add missing debug output for TARGET_WAITKIND_NO_HISTORY
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 ();