Lines Matching refs:log
28 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
31 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code()
38 dump_memory(log, backtrace, regs.uregs[reg], "memory near %.2s:", ®_names[reg * 2]); in dump_memory_and_code()
41 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_pc), "code around pc:"); in dump_memory_and_code()
44 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_lr), "code around lr:"); in dump_memory_and_code()
48 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
51 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers()
55 _LOG(log, logtype::REGISTERS, " r0 %08x r1 %08x r2 %08x r3 %08x\n", in dump_registers()
58 _LOG(log, logtype::REGISTERS, " r4 %08x r5 %08x r6 %08x r7 %08x\n", in dump_registers()
61 _LOG(log, logtype::REGISTERS, " r8 %08x r9 %08x sl %08x fp %08x\n", in dump_registers()
64 _LOG(log, logtype::REGISTERS, " ip %08x sp %08x lr %08x pc %08x cpsr %08x\n", in dump_registers()
71 _LOG(log, logtype::ERROR, "cannot get FP registers: %s\n", strerror(errno)); in dump_registers()
76 _LOG(log, logtype::FP_REGISTERS, " d%-2d %016llx d%-2d %016llx\n", in dump_registers()
79 _LOG(log, logtype::FP_REGISTERS, " scr %08lx\n", vfp_regs.fpscr); in dump_registers()