Print thread ids in decimal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23777 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7019a43544
commit
fad02fc2ac
@ -275,7 +275,7 @@ stack_trace(int argc, char **argv)
|
||||
&oldPageDirectory);
|
||||
|
||||
if (thread != NULL) {
|
||||
kprintf("stack trace for thread 0x%lx \"%s\"\n", thread->id,
|
||||
kprintf("stack trace for thread %ld \"%s\"\n", thread->id,
|
||||
thread->name);
|
||||
|
||||
kprintf(" kernel stack: %p to %p\n",
|
||||
@ -497,7 +497,7 @@ dump_iframes(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (thread != NULL)
|
||||
kprintf("iframes for thread 0x%lx \"%s\"\n", thread->id, thread->name);
|
||||
kprintf("iframes for thread %ld \"%s\"\n", thread->id, thread->name);
|
||||
|
||||
struct iframe* frame = find_previous_iframe(thread, x86_read_ebp());
|
||||
while (frame != NULL) {
|
||||
|
@ -328,7 +328,7 @@ invalid_exception(struct iframe* frame)
|
||||
{
|
||||
struct thread* thread = thread_get_current_thread();
|
||||
char name[32];
|
||||
panic("unhandled trap 0x%lx (%s) at ip 0x%lx, thread 0x%lx!\n",
|
||||
panic("unhandled trap 0x%lx (%s) at ip 0x%lx, thread %ld!\n",
|
||||
frame->vector, exception_name(frame->vector, name, sizeof(name)),
|
||||
frame->eip, thread ? thread->id : -1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user