diff options
author | Elliott Hughes <enh@google.com> | 2014-05-07 15:42:41 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-07 15:42:41 -0700 |
commit | 99d4a697c7f8968bb9b8f9dea61d7be712fc206b (patch) | |
tree | fdb82165a9fcfb867b244c5ff5b5663304b12237 /debuggerd | |
parent | a744f0a11a4ff2e4a84a0af8e8e98e2e38babc32 (diff) | |
download | system_core-99d4a697c7f8968bb9b8f9dea61d7be712fc206b.zip system_core-99d4a697c7f8968bb9b8f9dea61d7be712fc206b.tar.gz system_core-99d4a697c7f8968bb9b8f9dea61d7be712fc206b.tar.bz2 |
Fix mips debuggerd <corkscrew/ptrace.h> build breakage.
The uapi headers have everything we need, and the corkscrew
header files have been removed.
Change-Id: I274b44463638112f1ab290926094c094c9253586
Diffstat (limited to 'debuggerd')
-rw-r--r-- | debuggerd/mips/machine.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/debuggerd/mips/machine.cpp b/debuggerd/mips/machine.cpp index 7b4e29e..ab34182 100644 --- a/debuggerd/mips/machine.cpp +++ b/debuggerd/mips/machine.cpp @@ -22,8 +22,6 @@ #include <sys/types.h> #include <sys/ptrace.h> -#include <corkscrew/ptrace.h> - #include <sys/user.h> #include "../utility.h" @@ -37,7 +35,7 @@ // If configured to do so, dump memory around *all* registers // for the crashing thread. void dump_memory_and_code(log_t* log, pid_t tid, int scope_flags) { - pt_regs_mips_t r; + pt_regs r; if (ptrace(PTRACE_GETREGS, tid, 0, &r)) { return; } @@ -80,7 +78,7 @@ void dump_memory_and_code(log_t* log, pid_t tid, int scope_flags) { } void dump_registers(log_t* log, pid_t tid, int scope_flags) { - pt_regs_mips_t r; + pt_regs r; if(ptrace(PTRACE_GETREGS, tid, 0, &r)) { _LOG(log, scope_flags, "cannot get registers: %s\n", strerror(errno)); return; |