mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
gdbserver: use target_waitstatus::to_string in 'prepare_resume_reply'
Use the to_string method of target_waitstatus in 'prepare_resume_reply' for a more readable log message. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@ -1053,8 +1053,9 @@ void
|
|||||||
prepare_resume_reply (char *buf, ptid_t ptid, const target_waitstatus &status)
|
prepare_resume_reply (char *buf, ptid_t ptid, const target_waitstatus &status)
|
||||||
{
|
{
|
||||||
client_state &cs = get_client_state ();
|
client_state &cs = get_client_state ();
|
||||||
threads_debug_printf ("Writing resume reply for %s:%d",
|
threads_debug_printf ("Writing resume reply for %s: %s",
|
||||||
target_pid_to_str (ptid).c_str (), status.kind ());
|
target_pid_to_str (ptid).c_str (),
|
||||||
|
status.to_string ().c_str ());
|
||||||
|
|
||||||
switch (status.kind ())
|
switch (status.kind ())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user