Revert a couple of small changes that inadvertently came in via the
authorKevin Buettner <kevinb@redhat.com>
Thu, 10 May 2001 01:34:17 +0000 (01:34 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 10 May 2001 01:34:17 +0000 (01:34 +0000)
2001-05-03 patch.

gdb/ChangeLog
gdb/lin-lwp.c

index 393663caeedd670da48cf30c9a72c270dd961818..8b358a96bd1903e9e643a56b78acf3555ef2dbbe 100644 (file)
@@ -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>
 
        * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
index df62901a99e2cc81416f8a8ff747bd6141c5a78a..055ace708524d72c7392269eeeb0c34a81daa8ef 100644 (file)
@@ -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;
     }