mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
fbsd-nat: Various cleanups to the ::resume entry debug message.
Move the message from 'show debug fbsd-lwp' to 'show debug fbsd-nat' since it is helpful for debugging async target support and not just LWP support. Use target_pid_to_str to format the ptid and log the step and signo arguments.
This commit is contained in:
@ -1162,8 +1162,9 @@ fbsd_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signo)
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fbsd_lwp_debug_printf ("ptid (%d, %ld, %s)", ptid.pid (), ptid.lwp (),
|
fbsd_nat_debug_printf ("[%s], step %d, signo %d (%s)",
|
||||||
pulongest (ptid.tid ()));
|
target_pid_to_str (ptid).c_str (), step, signo,
|
||||||
|
gdb_signal_to_name (signo));
|
||||||
if (ptid.lwp_p ())
|
if (ptid.lwp_p ())
|
||||||
{
|
{
|
||||||
/* If ptid is a specific LWP, suspend all other LWPs in the process. */
|
/* If ptid is a specific LWP, suspend all other LWPs in the process. */
|
||||||
|
Reference in New Issue
Block a user