summaryrefslogtreecommitdiffstats
path: root/debuggerd/x86_64
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_64
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_64')
-rwxr-xr-xdebuggerd/x86_64/machine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/x86_64/machine.cpp b/debuggerd/x86_64/machine.cpp
index 6cb0e8d..af4f35a 100755
--- a/debuggerd/x86_64/machine.cpp
+++ b/debuggerd/x86_64/machine.cpp
@@ -33,7 +33,7 @@ void dump_memory_and_code(log_t*, pid_t) {
void dump_registers(log_t* log, pid_t tid) {
struct user_regs_struct 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, " rax %016lx rbx %016lx rcx %016lx rdx %016lx\n",