Lines Matching defs:log
45 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) {
105 _LOG(log, !at_fault, " %s %s\n", code_buffer, ascii_buffer);
114 log_t* log, pid_t tid, bool at_fault) {
135 _LOG(log, false, "\nmemory near %.2s:\n", ®_NAMES[reg * 2]);
136 dump_memory(log, tid, addr, at_fault);
140 _LOG(log, !at_fault, "\ncode around pc:\n");
141 dump_memory(log, tid, (uintptr_t)regs.ARM_pc, at_fault);
144 _LOG(log, !at_fault, "\ncode around lr:\n");
145 dump_memory(log, tid, (uintptr_t)regs.ARM_lr, at_fault);
150 log_t* log, pid_t tid, bool at_fault)
156 _LOG(log, only_in_tombstone, "cannot get registers: %s\n", strerror(errno));
160 _LOG(log, only_in_tombstone, " r0 %08x r1 %08x r2 %08x r3 %08x\n",
162 _LOG(log, only_in_tombstone, " r4 %08x r5 %08x r6 %08x r7 %08x\n",
164 _LOG(log, only_in_tombstone, " r8 %08x r9 %08x sl %08x fp %08x\n",
166 _LOG(log, only_in_tombstone, " ip %08x sp %08x lr %08x pc %08x cpsr %08x\n",
175 _LOG(log, only_in_tombstone, "cannot get registers: %s\n", strerror(errno));
180 _LOG(log, only_in_tombstone, " d%-2d %016llx d%-2d %016llx\n",
183 _LOG(log, only_in_tombstone, " scr %08lx\n", vfp_regs.fpscr);