diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-15 00:13:47 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-15 00:13:47 +0000 |
commit | 94bc8a13dbe62f4eaff1e82714335641eba866b9 (patch) | |
tree | e65b23dd7f10cfca58ddf3603787cab777cd2e5d /gdb/lin-lwp.c | |
parent | 11bc5832a9da5c23b3df59251c230c5bcce21f2f (diff) | |
download | gdb-94bc8a13dbe62f4eaff1e82714335641eba866b9.tar.gz |
Fix warnings resulting from fact that GET_LWP() now returns a long rather
than an int.
Diffstat (limited to 'gdb/lin-lwp.c')
-rw-r--r-- | gdb/lin-lwp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index 650333109d5..2d2a2b6d9f5 100644 --- a/gdb/lin-lwp.c +++ b/gdb/lin-lwp.c @@ -359,7 +359,7 @@ detach_callback (struct lwp_info *lp, void *data) gdb_assert (lp->status == 0 || WIFSTOPPED (lp->status)); if (debug_lin_lwp && lp->status) - fprintf_unfiltered (gdb_stdlog, "Pending %s for LWP %d on detach.\n", + fprintf_unfiltered (gdb_stdlog, "Pending %s for LWP %ld on detach.\n", strsignal (WSTOPSIG (lp->status)), GET_LWP (lp->ptid)); while (lp->signalled && lp->stopped) @@ -676,7 +676,7 @@ lin_lwp_wait (ptid_t ptid, struct target_waitstatus *ourstatus) { if (debug_lin_lwp) fprintf_unfiltered (gdb_stdlog, - "Using pending wait status for LWP %d.\n", + "Using pending wait status for LWP %ld.\n", GET_LWP (lp->ptid)); status = lp->status; @@ -692,7 +692,7 @@ lin_lwp_wait (ptid_t ptid, struct target_waitstatus *ourstatus) { if (debug_lin_lwp) fprintf_unfiltered (gdb_stdlog, - "Waiting for specific LWP %d.\n", + "Waiting for specific LWP %ld.\n", GET_LWP (ptid)); /* We have a specific LWP to check. */ @@ -704,7 +704,7 @@ lin_lwp_wait (ptid_t ptid, struct target_waitstatus *ourstatus) if (debug_lin_lwp) if (status) fprintf_unfiltered (gdb_stdlog, - "Using pending wait status for LWP %d.\n", + "Using pending wait status for LWP %ld.\n", GET_LWP (lp->ptid)); /* If we have to wait, take into account whether PID is a cloned @@ -1024,7 +1024,7 @@ lin_lwp_pid_to_str (ptid_t ptid) if (is_lwp (ptid)) { - snprintf (buf, sizeof (buf), "LWP %d", GET_LWP (ptid)); + snprintf (buf, sizeof (buf), "LWP %ld", GET_LWP (ptid)); return buf; } |