2011-10-24 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Mon, 24 Oct 2011 14:01:12 +0000 (14:01 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 24 Oct 2011 14:01:12 +0000 (14:01 +0000)
gdb/
* infrun.c (handle_inferior_event): Add debug output for
TARGET_WAITKIND_NO_HISTORY.

gdb/ChangeLog
gdb/infrun.c

index c24224c..3a10983 100644 (file)
@@ -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
index db6a5d1..da0b820 100644 (file)
@@ -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 ();