diff options
author | Brigid Smith <brigidsmith@google.com> | 2014-06-19 11:33:38 -0700 |
---|---|---|
committer | Brigid Smith <brigidsmith@google.com> | 2014-06-19 11:33:38 -0700 |
commit | e17f267b2a54d4b1a2b440a94ce06818ece49c7b (patch) | |
tree | ca442115af08f111529e3c2118ffc360fa7c8bc0 /debuggerd/arm64 | |
parent | 32cd6ec6a71a2e022fc39278287f1b8751338b0e (diff) | |
download | system_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/arm64')
-rw-r--r-- | debuggerd/arm64/machine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debuggerd/arm64/machine.cpp b/debuggerd/arm64/machine.cpp index f3409d5..48308c3 100644 --- a/debuggerd/arm64/machine.cpp +++ b/debuggerd/arm64/machine.cpp @@ -44,7 +44,7 @@ void dump_memory_and_code(log_t* log, pid_t tid) { io.iov_len = sizeof(regs); if (ptrace(PTRACE_GETREGSET, tid, (void*)NT_PRSTATUS, &io) == -1) { - LOG_ERROR("%s: ptrace failed to get registers: %s\n", + _LOG(log, logtype::ERROR, "%s: ptrace failed to get registers: %s\n", __func__, strerror(errno)); return; } @@ -80,7 +80,7 @@ void dump_registers(log_t* log, pid_t tid) { io.iov_len = sizeof(r); if (ptrace(PTRACE_GETREGSET, tid, (void*) NT_PRSTATUS, (void*) &io) == -1) { - LOG_ERROR("ptrace error: %s\n", strerror(errno)); + _LOG(log, logtype::ERROR, "ptrace error: %s\n", strerror(errno)); return; } @@ -105,7 +105,7 @@ void dump_registers(log_t* log, pid_t tid) { io.iov_len = sizeof(f); if (ptrace(PTRACE_GETREGSET, tid, (void*) NT_PRFPREG, (void*) &io) == -1) { - LOG_ERROR("ptrace error: %s\n", strerror(errno)); + _LOG(log, logtype::ERROR, "ptrace error: %s\n", strerror(errno)); return; } |