aboutsummaryrefslogtreecommitdiff
path: root/gdb/async-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/async-event.c')
-rw-r--r--gdb/async-event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/async-event.c b/gdb/async-event.c
index 12ce62c..8c6ba09 100644
--- a/gdb/async-event.c
+++ b/gdb/async-event.c
@@ -293,8 +293,10 @@ create_async_event_handler (async_event_handler_func *proc,
void
mark_async_event_handler (async_event_handler *async_handler_ptr)
{
- event_loop_debug_printf ("marking async event handler `%s`",
- async_handler_ptr->name);
+ event_loop_debug_printf ("marking async event handler `%s` "
+ "(previous state was %d)",
+ async_handler_ptr->name,
+ async_handler_ptr->ready);
async_handler_ptr->ready = 1;
}