diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-15 09:37:54 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-15 09:37:54 -0700 |
commit | 5731de9620a632e1b70e19dd816f9807ba84082e (patch) | |
tree | 4e9700af67e8f8196a42b74f13ef6df4c18d5a03 /include/corkscrew | |
parent | a8f1e11bcc8144548a5dd0e004f54679d4d66396 (diff) | |
parent | 83c4398b4adb5c2cfaf6487699a8b94901ce0fb1 (diff) | |
download | system_core-5731de9620a632e1b70e19dd816f9807ba84082e.zip system_core-5731de9620a632e1b70e19dd816f9807ba84082e.tar.gz system_core-5731de9620a632e1b70e19dd816f9807ba84082e.tar.bz2 |
am 83c4398b: am cc12ed32: Merge "[MIPS] debuggerd and libcorkscrew support"
* commit '83c4398b4adb5c2cfaf6487699a8b94901ce0fb1':
[MIPS] debuggerd and libcorkscrew support
Diffstat (limited to 'include/corkscrew')
-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 0040c22..76276d8 100644 --- a/include/corkscrew/ptrace.h +++ b/include/corkscrew/ptrace.h @@ -65,6 +65,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. */ |