gdb: use ptid_t::to_string in print_target_wait_results
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 5 Aug 2021 03:18:56 +0000 (23:18 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 5 Aug 2021 16:12:37 +0000 (12:12 -0400)
commit17e971f729625c144d07cbfcfb0a5a51d1ca0305
treef532c414d033302ed7fa9bbf09c9632d052d4855
parent70454ee70ad63c77d39768f057d722214adef658
gdb: use ptid_t::to_string in print_target_wait_results

The ptid_t::to_string method was introduced recently, to format a ptid_t
for debug purposes.  It formats the ptid exactly as is done in
print_target_wait_results, so make print_target_wait_results use it.

Change-Id: I0a81c8040d3e1858fb304cb28366b34d94eefe4d
gdb/infrun.c