From 4b4e080e8308f1a7ee65e8d5caf1b7bf67ce7bf2 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 24 Oct 2011 14:01:12 +0000 Subject: [PATCH] 2011-10-24 Pedro Alves gdb/ * infrun.c (handle_inferior_event): Add debug output for TARGET_WAITKIND_NO_HISTORY. --- gdb/ChangeLog | 5 +++++ gdb/infrun.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c24224c90a..3a10983b6c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-10-24 Pedro Alves + + * infrun.c (handle_inferior_event): Add debug output for + TARGET_WAITKIND_NO_HISTORY. + 2011-10-24 Phil Muldoon * NEWS: Move set/show extended-prompt to "New Options". Expand diff --git a/gdb/infrun.c b/gdb/infrun.c index db6a5d140f..da0b82009a 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3656,6 +3656,8 @@ handle_inferior_event (struct execution_control_state *ecs) 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 ();