From f858bd1c6eec7eb6bbfc8844e0de096be011e99a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 31 Jan 2014 16:56:39 -0800 Subject: [PATCH] LP64 binaries should talk to debuggerd64. Change-Id: I7eb30f9d04f80b6b45d3148757970d3f1117493c --- linker/debugger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linker/debugger.cpp b/linker/debugger.cpp index 92e9dacdf..2ccd176a0 100644 --- a/linker/debugger.cpp +++ b/linker/debugger.cpp @@ -40,7 +40,11 @@ extern "C" int tgkill(int tgid, int tid, int sig); +#if __LP64__ +#define DEBUGGER_SOCKET_NAME "android:debuggerd64" +#else #define DEBUGGER_SOCKET_NAME "android:debuggerd" +#endif enum debugger_action_t { // dump a crash