summaryrefslogtreecommitdiffstats
path: root/debuggerd/x86
diff options
context:
space:
mode:
authorBrigid Smith <brigidsmith@google.com>2014-06-19 11:33:38 -0700
committerBrigid Smith <brigidsmith@google.com>2014-06-19 11:33:38 -0700
commite17f267b2a54d4b1a2b440a94ce06818ece49c7b (patch)
treeca442115af08f111529e3c2118ffc360fa7c8bc0 /debuggerd/x86
parent32cd6ec6a71a2e022fc39278287f1b8751338b0e (diff)
downloadsystem_core-e17f267b2a54d4b1a2b440a94ce06818ece49c7b.zip
system_core-e17f267b2a54d4b1a2b440a94ce06818ece49c7b.tar.gz
system_core-e17f267b2a54d4b1a2b440a94ce06818ece49c7b.tar.bz2
Updated non-ARM archs to reflect logging changes.
Change-Id: I0af865881c19ea4a57ec1aa9455bc32c08a60d75
Diffstat (limited to 'debuggerd/x86')
-rw-r--r--debuggerd/x86/machine.cpp2
1 files changed, 1 insertions, 1 deletions
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",