+2001-05-09 Kevin Buettner <kevinb@redhat.com>
+
+ * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
+ string change in 2001-05-03 changes.
+ (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
+ changes.
+
2001-05-09 Kevin Buettner <kevinb@redhat.com>
* lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
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;
if (is_lwp (ptid))
{
- snprintf (buf, sizeof (buf), "LWP %ld", GET_LWP (ptid));
+ snprintf (buf, sizeof (buf), "LWP %d", GET_LWP (ptid));
return buf;
}