aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-10-24 14:01:12 +0000
committerPedro Alves <palves@redhat.com>2011-10-24 14:01:12 +0000
commit4b4e080e8308f1a7ee65e8d5caf1b7bf67ce7bf2 (patch)
tree5f7688f2eddbdb8aeb0734ac287f91ca1ebdb9e5 /gdb
parent61a2712e81a7c1ab374f77573008b9448a553bbe (diff)
downloadgdb-4b4e080e8308f1a7ee65e8d5caf1b7bf67ce7bf2.zip
gdb-4b4e080e8308f1a7ee65e8d5caf1b7bf67ce7bf2.tar.gz
gdb-4b4e080e8308f1a7ee65e8d5caf1b7bf67ce7bf2.tar.bz2
2011-10-24 Pedro Alves <pedro@codesourcery.com>
gdb/ * infrun.c (handle_inferior_event): Add debug output for TARGET_WAITKIND_NO_HISTORY.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c24224c..3a10983 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-24 Pedro Alves <pedro@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): Add debug output for
+ TARGET_WAITKIND_NO_HISTORY.
+
2011-10-24 Phil Muldoon <pmuldoon@redhat.com>
* NEWS: Move set/show extended-prompt to "New Options". Expand
diff --git a/gdb/infrun.c b/gdb/infrun.c
index db6a5d1..da0b820 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 ();