mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +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:
@ -293,8 +293,10 @@ create_async_event_handler (async_event_handler_func *proc,
|
|||||||
void
|
void
|
||||||
mark_async_event_handler (async_event_handler *async_handler_ptr)
|
mark_async_event_handler (async_event_handler *async_handler_ptr)
|
||||||
{
|
{
|
||||||
event_loop_debug_printf ("marking async event handler `%s`",
|
event_loop_debug_printf ("marking async event handler `%s` "
|
||||||
async_handler_ptr->name);
|
"(previous state was %d)",
|
||||||
|
async_handler_ptr->name,
|
||||||
|
async_handler_ptr->ready);
|
||||||
async_handler_ptr->ready = 1;
|
async_handler_ptr->ready = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user