aboutsummaryrefslogtreecommitdiff
path: root/gdb/lin-lwp.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-05-10 01:34:17 +0000
committerKevin Buettner <kevinb@redhat.com>2001-05-10 01:34:17 +0000
commit3d6e28e2e79f36299f77e1c41c83a5ec99411d6b (patch)
treeb106101ccd576d9b0d9ca84813651cb359ce602c /gdb/lin-lwp.c
parent01263b571ca572b96eaf1aa1026466ef6d4163ee (diff)
downloadfsf-binutils-gdb-3d6e28e2e79f36299f77e1c41c83a5ec99411d6b.zip
fsf-binutils-gdb-3d6e28e2e79f36299f77e1c41c83a5ec99411d6b.tar.gz
fsf-binutils-gdb-3d6e28e2e79f36299f77e1c41c83a5ec99411d6b.tar.bz2
Revert a couple of small changes that inadvertently came in via the
2001-05-03 patch.
Diffstat (limited to 'gdb/lin-lwp.c')
-rw-r--r--gdb/lin-lwp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c
index df62901..055ace7 100644
--- a/gdb/lin-lwp.c
+++ b/gdb/lin-lwp.c
@@ -685,7 +685,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",
- (int) GET_LWP (lp->ptid));
+ GET_LWP (lp->ptid));
status = lp->status;
lp->status = 0;
@@ -1032,7 +1032,7 @@ lin_lwp_pid_to_str (ptid_t ptid)
if (is_lwp (ptid))
{
- snprintf (buf, sizeof (buf), "LWP %ld", GET_LWP (ptid));
+ snprintf (buf, sizeof (buf), "LWP %d", GET_LWP (ptid));
return buf;
}