Lines Matching refs:thread
132 FindAreaEx(Thread* thread, addr_t adr)
138 return thread->team->address_space->LookupArea(adr);
145 lookup_symbol(Thread* thread, addr_t address, addr_t* _baseAddress,
154 } else if (true && thread != NULL && thread->team != NULL) {
156 status = elf_debug_lookup_user_symbol_address(thread->team, address,
161 status = image_debug_lookup_user_symbol_address(thread->team,
197 WritePCEx(Thread* thread, addr_t pc)
208 if (lookup_symbol(thread, pc, &baseAddress,
219 VMArea* area = FindAreaEx(thread, pc);
267 DoStackTraceEx(Thread* thread, addr_t fp, addr_t pc)
272 dprintf(", PC: "); WritePCEx(thread, pc);
291 dprintf(", PC: "); WritePCEx(thread, pc);
321 Thread* thread = Thread::GetDebug(id);
322 if (thread == NULL) {
323 kprintf("could not find thread %" B_PRId32 "\n", id);
327 auto map = (RISCV64VMTranslationMap*)thread->team->address_space->TranslationMap();
333 DebuggedThreadSetter threadSetter(thread);
334 DoStackTraceEx(thread, thread->arch_info.context.s[0], thread->arch_info.context.ra);
354 arch_debug_contains_call(Thread *thread, const char *symbol,
458 add_debugger_command("sc", &stack_trace, "Stack crawl for current thread");