diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-15 08:44:58 -0700 |
|---|---|---|
| committer | android code review <noreply-gerritcodereview@google.com> | 2012-08-15 08:44:59 -0700 |
| commit | cc12ed3241a4081970cdd70f88d57cb4d3bc19f2 (patch) | |
| tree | 7d70a270bb3bbf24462f170cd93a09c8205253cd /include | |
| parent | c4c731e78ca1a3527093a35280381616d1cb667d (diff) | |
| parent | 231e3c83a3a70b11160fb0da108ebf2e0e7470e2 (diff) | |
| download | system_core-cc12ed3241a4081970cdd70f88d57cb4d3bc19f2.tar.gz system_core-cc12ed3241a4081970cdd70f88d57cb4d3bc19f2.tar.bz2 system_core-cc12ed3241a4081970cdd70f88d57cb4d3bc19f2.zip | |
Merge "[MIPS] debuggerd and libcorkscrew support"
Diffstat (limited to 'include')
| -rw-r--r-- | include/corkscrew/ptrace.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/corkscrew/ptrace.h b/include/corkscrew/ptrace.h index 172e348d..9e0da788 100644 --- a/include/corkscrew/ptrace.h +++ b/include/corkscrew/ptrace.h @@ -64,6 +64,19 @@ typedef struct pt_regs_x86 { } pt_regs_x86_t; #endif +#if __mips__ +/* ptrace() GET_REGS context. */ +typedef struct pt_regs_mips { + uint64_t regs[32]; + uint64_t lo; + uint64_t hi; + uint64_t cp0_epc; + uint64_t cp0_badvaddr; + uint64_t cp0_status; + uint64_t cp0_cause; +} pt_regs_mips_t; +#endif + /* * Initializes a memory structure for accessing memory from this process. */ |
