Revert a couple of small changes that inadvertently came in via the
2001-05-03 patch.
This commit is contained in:
parent
01263b571c
commit
3d6e28e2e7
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2001-05-09 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
* lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
|
* lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
|
||||||
|
|
|
@ -685,7 +685,7 @@ lin_lwp_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
|
||||||
if (debug_lin_lwp)
|
if (debug_lin_lwp)
|
||||||
fprintf_unfiltered (gdb_stdlog,
|
fprintf_unfiltered (gdb_stdlog,
|
||||||
"Using pending wait status for LWP %d.\n",
|
"Using pending wait status for LWP %d.\n",
|
||||||
(int) GET_LWP (lp->ptid));
|
GET_LWP (lp->ptid));
|
||||||
|
|
||||||
status = lp->status;
|
status = lp->status;
|
||||||
lp->status = 0;
|
lp->status = 0;
|
||||||
|
@ -1032,7 +1032,7 @@ lin_lwp_pid_to_str (ptid_t ptid)
|
||||||
|
|
||||||
if (is_lwp (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;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue