[PATCH] gdb: use ptid_t::to_string in infrun debug messages

Tom Tromey tom@tromey.com
Mon Oct 25 18:49:21 GMT 2021


>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> In debug messages, I think it would be more helpful to print ptid using
Simon> the simple "pid.lwp.tid" notation in infrun debug messages.  I am
Simon> currently debugging some fork issues, and find the pid_to_str output not
Simon> so useful, as it doesn't tell which process a thread belongs to.

It seems reasonable to me.

Tom


More information about the Gdb-patches mailing list