#include <cstdio>
#include <cstring>
-#include "thread.h"
+#include "thread_object.h"
#include "jdb.h"
#include "jdb_kobject.h"
#include "jdb_module.h"
{
puts(printlines ? Jdb_screen::Line : "");
Jdb::clear_to_eol();
- printf("Thread: %lx\n", t->dbg_id());
+ printf("Thread: %lx\n", t->dbg_info()->dbg_id());
Prio_list_elem *p = t->sender_list()->head();
if (!p)
do
{
Thread *ts = static_cast<Thread *>(Sender::cast(s));
- printf("%s %lx", s == p ? "" : ",", ts->dbg_id());
+ printf("%s %lx", s == p ? "" : ",", ts->dbg_info()->dbg_id());
s = s->_s_next;
} while (s != p);
puts("");
if (cmd)
return NOTHING;
- Thread *t = Kobject::dcast<Thread *>(thread);
+ Thread *t = Kobject::dcast<Thread_object *>(thread);
if (!t)
{
printf(" Invalid thread\n");
if (keycode != 'S')
return false;
- Thread *t = Kobject::dcast<Thread*>(o);
+ Thread *t = Kobject::dcast<Thread_object *>(o);
if (!t)
return false;