if (ptid.pid () == -2) /* Inactive thread. */
error (_("This version of Solaris can't start inactive threads."));
if (info_verbose && ptid.pid () == -1)
- warning (_("Specified thread %ld seems to have terminated"),
- save_ptid.tid ());
+ warning (_("Specified thread %s seems to have terminated"),
+ pulongest (save_ptid.tid ()));
}
beneath ()->resume (ptid, step, signo);
if (ptid.pid () == -2) /* Inactive thread. */
error (_("This version of Solaris can't start inactive threads."));
if (info_verbose && ptid.pid () == -1)
- warning (_("Specified thread %ld seems to have terminated"),
- ptid_for_warning.tid ());
+ warning (_("Specified thread %s seems to have terminated"),
+ pulongest (ptid_for_warning.tid ()));
}
ptid_t rtnval = beneath ()->wait (ptid, ourstatus, options);
lwp = thread_to_lwp (ptid, -2);
if (lwp.pid () == -1)
- return string_printf ("Thread %ld (defunct)",
- ptid.tid ());
+ return string_printf ("Thread %s (defunct)",
+ pulongest (ptid.tid ()));
else if (lwp.pid () != -2)
- return string_printf ("Thread %ld (LWP %ld)",
- ptid.tid (), lwp.lwp ());
+ return string_printf ("Thread %s (LWP %ld)",
+ pulongest (ptid.tid ()), lwp.lwp ());
else
- return string_printf ("Thread %ld ",
- ptid.tid ());
+ return string_printf ("Thread %s ",
+ pulongest (ptid.tid ()));
}
else if (ptid.lwp () != 0)
return string_printf ("LWP %ld ", ptid.lwp ());