diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 8952b23..db0ad8d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2607,14 +2607,15 @@ print_target_wait_results (ptid_t waiton_ptid, ptid_t result_ptid, is set. */ fprintf_unfiltered (tmp_stream, - "infrun: target_wait (%d", PIDGET (waiton_ptid)); - if (PIDGET (waiton_ptid) != -1) + "infrun: target_wait (%d", ptid_get_pid (waiton_ptid)); + if (ptid_get_pid (waiton_ptid) != -1) fprintf_unfiltered (tmp_stream, " [%s]", target_pid_to_str (waiton_ptid)); fprintf_unfiltered (tmp_stream, ", status) =\n"); fprintf_unfiltered (tmp_stream, "infrun: %d [%s],\n", - PIDGET (result_ptid), target_pid_to_str (result_ptid)); + ptid_get_pid (result_ptid), + target_pid_to_str (result_ptid)); fprintf_unfiltered (tmp_stream, "infrun: %s\n", status_string); |