mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
gdb: add some additional debug in mark_async_event_handler
Extend the existing debug printf call to include the previous state of the async_event_handler object.
This commit is contained in:
parent
a13886e219
commit
07443de62b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user