summaryrefslogtreecommitdiffstats
path: root/include/cutils/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cutils/debugger.h')
-rw-r--r--include/cutils/debugger.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cutils/debugger.h b/include/cutils/debugger.h
index 4eda523..ae6bfc4 100644
--- a/include/cutils/debugger.h
+++ b/include/cutils/debugger.h
@@ -23,7 +23,11 @@
extern "C" {
#endif
+#if __LP64__
+#define DEBUGGER_SOCKET_NAME "android:debuggerd64"
+#else
#define DEBUGGER_SOCKET_NAME "android:debuggerd"
+#endif
typedef enum {
// dump a crash
@@ -38,6 +42,7 @@ typedef struct {
debugger_action_t action;
pid_t tid;
uintptr_t abort_msg_address;
+ int32_t original_si_code;
} debugger_msg_t;
/* Dumps a process backtrace, registers, and stack to a tombstone file (requires root).