/system/core/debuggerd/arm/ |
D | machine.cpp | 31 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code() 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()
|
/system/core/debuggerd/x86_64/ |
D | machine.cpp | 31 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code() 48 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 52 _LOG(log, logtype::REGISTERS, " rax %016lx rbx %016lx rcx %016lx rdx %016lx\n", in dump_registers() 54 _LOG(log, logtype::REGISTERS, " rsi %016lx rdi %016lx\n", in dump_registers() 56 _LOG(log, logtype::REGISTERS, " r8 %016lx r9 %016lx r10 %016lx r11 %016lx\n", in dump_registers() 58 _LOG(log, logtype::REGISTERS, " r12 %016lx r13 %016lx r14 %016lx r15 %016lx\n", in dump_registers() 60 _LOG(log, logtype::REGISTERS, " cs %016lx ss %016lx\n", in dump_registers() 62 _LOG(log, logtype::REGISTERS, " rip %016lx rbp %016lx rsp %016lx eflags %016lx\n", in dump_registers()
|
/system/core/debuggerd/mips/ |
D | machine.cpp | 35 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code() 64 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 68 _LOG(log, logtype::REGISTERS, " zr %08" PRIxPTR " at %08" PRIxPTR in dump_registers() 71 _LOG(log, logtype::REGISTERS, " a0 %08" PRIxPTR " a1 %08" PRIxPTR in dump_registers() 74 _LOG(log, logtype::REGISTERS, " t0 %08" PRIxPTR " t1 %08" PRIxPTR in dump_registers() 77 _LOG(log, logtype::REGISTERS, " t4 %08" PRIxPTR " t5 %08" PRIxPTR in dump_registers() 80 _LOG(log, logtype::REGISTERS, " s0 %08" PRIxPTR " s1 %08" PRIxPTR in dump_registers() 83 _LOG(log, logtype::REGISTERS, " s4 %08" PRIxPTR " s5 %08" PRIxPTR in dump_registers() 86 _LOG(log, logtype::REGISTERS, " t8 %08" PRIxPTR " t9 %08" PRIxPTR in dump_registers() 89 _LOG(log, logtype::REGISTERS, " gp %08" PRIxPTR " sp %08" PRIxPTR in dump_registers() [all …]
|
/system/core/debuggerd/mips64/ |
D | machine.cpp | 35 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code() 64 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 68 _LOG(log, logtype::REGISTERS, " zr %016" PRIxPTR " at %016" PRIxPTR in dump_registers() 71 _LOG(log, logtype::REGISTERS, " a0 %016" PRIxPTR " a1 %016" PRIxPTR in dump_registers() 74 _LOG(log, logtype::REGISTERS, " a4 %016" PRIxPTR " a5 %016" PRIxPTR in dump_registers() 77 _LOG(log, logtype::REGISTERS, " t0 %016" PRIxPTR " t1 %016" PRIxPTR in dump_registers() 80 _LOG(log, logtype::REGISTERS, " s0 %016" PRIxPTR " s1 %016" PRIxPTR in dump_registers() 83 _LOG(log, logtype::REGISTERS, " s4 %016" PRIxPTR " s5 %016" PRIxPTR in dump_registers() 86 _LOG(log, logtype::REGISTERS, " t8 %016" PRIxPTR " t9 %016" PRIxPTR in dump_registers() 89 _LOG(log, logtype::REGISTERS, " gp %016" PRIxPTR " sp %016" PRIxPTR in dump_registers() [all …]
|
/system/core/debuggerd/arm64/ |
D | machine.cpp | 37 _LOG(log, logtype::ERROR, "%s: ptrace failed to get registers: %s", in dump_memory_and_code() 60 _LOG(log, logtype::ERROR, "ptrace error: %s\n", strerror(errno)); in dump_registers() 65 _LOG(log, logtype::REGISTERS, in dump_registers() 73 _LOG(log, logtype::REGISTERS, " x28 %016llx x29 %016llx x30 %016llx\n", in dump_registers() 76 _LOG(log, logtype::REGISTERS, " sp %016llx pc %016llx pstate %016llx\n", in dump_registers() 84 _LOG(log, logtype::ERROR, "ptrace error: %s\n", strerror(errno)); in dump_registers() 89 _LOG(log, logtype::FP_REGISTERS, in dump_registers() 98 _LOG(log, logtype::FP_REGISTERS, " fpsr %08x fpcr %08x\n", f.fpsr, f.fpcr); in dump_registers()
|
/system/core/debuggerd/x86/ |
D | machine.cpp | 30 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code() 47 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 51 _LOG(log, logtype::REGISTERS, " eax %08lx ebx %08lx ecx %08lx edx %08lx\n", in dump_registers() 53 _LOG(log, logtype::REGISTERS, " esi %08lx edi %08lx\n", in dump_registers() 55 _LOG(log, logtype::REGISTERS, " xcs %08x xds %08x xes %08x xfs %08x xss %08x\n", in dump_registers() 57 _LOG(log, logtype::REGISTERS, " eip %08lx ebp %08lx esp %08lx flags %08lx\n", in dump_registers()
|
/system/core/debuggerd/ |
D | tombstone.cpp | 174 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint); in dump_header_info() 175 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision); in dump_header_info() 176 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info() 183 _LOG(log, logtype::HEADER, "cannot get siginfo: %s\n", strerror(errno)); in dump_signal_info() 197 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s), fault addr %s\n", in dump_signal_info() 234 _LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid, in dump_thread_info() 269 _LOG(log, logtype::STACK, "%s\n", line.c_str()); in dump_stack_segment() 300 _LOG(log, logtype::STACK, " ........ ........\n"); in dump_stack() 306 _LOG(log, logtype::STACK, " ........ ........\n"); in dump_stack() 341 _LOG(log, logtype::ERROR, "Cannot get siginfo for %d: %s\n", tid, strerror(errno)); in dump_all_maps() [all …]
|
D | backtrace.cpp | 58 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr); in dump_process_header() 61 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname); in dump_process_header() 63 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header() 67 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer() 89 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid); in dump_thread() 92 _LOG(log, logtype::BACKTRACE, "Could not attach to thread: %s\n", strerror(errno)); in dump_thread() 108 _LOG(log, logtype::ERROR, "ptrace detach from %d failed: %s\n", tid, strerror(errno)); in dump_thread() 148 _LOG(log, logtype::BACKTRACE, "%s%s\n", prefix, backtrace->FormatFrameData(i).c_str()); in dump_backtrace_to_log()
|
D | utility.cpp | 48 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() function 149 _LOG(log, logtype::MEMORY, "\n%s\n", log_msg.c_str()); 208 _LOG(log, logtype::MEMORY, "%s %s\n", logline.c_str(), ascii.c_str());
|
D | utility.h | 75 void _LOG(log_t* log, logtype ltype, const char *fmt, ...)
|