From e17f267b2a54d4b1a2b440a94ce06818ece49c7b Mon Sep 17 00:00:00 2001 From: Brigid Smith Date: Thu, 19 Jun 2014 11:33:38 -0700 Subject: Updated non-ARM archs to reflect logging changes. Change-Id: I0af865881c19ea4a57ec1aa9455bc32c08a60d75 --- debuggerd/x86/machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debuggerd/x86') diff --git a/debuggerd/x86/machine.cpp b/debuggerd/x86/machine.cpp index 2d553fa..57330c1 100644 --- a/debuggerd/x86/machine.cpp +++ b/debuggerd/x86/machine.cpp @@ -31,7 +31,7 @@ void dump_memory_and_code(log_t*, pid_t) { void dump_registers(log_t* log, pid_t tid) { struct pt_regs r; if (ptrace(PTRACE_GETREGS, tid, 0, &r) == -1) { - LOG_ERROR("cannot get registers: %s\n", strerror(errno)); + _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); return; } _LOG(log, logtype::REGISTERS, " eax %08lx ebx %08lx ecx %08lx edx %08lx\n", -- cgit v1.1