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 c24224c90a53c7c1b45c327282c192a7a4f3204f..3a10983b6c0fad5b00004e195f1e8d4caac51258 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 db6a5d140f8bed9e02779441378a79450b901e01..da0b82009a3d42b686127e7c71a2e72488b9d1a4 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 ();