]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/commitdiff
LP64 binaries should talk to debuggerd64.
authorElliott Hughes <enh@google.com>
Sat, 1 Feb 2014 00:56:39 +0000 (16:56 -0800)
committerElliott Hughes <enh@google.com>
Sat, 1 Feb 2014 00:56:39 +0000 (16:56 -0800)
Change-Id: I7eb30f9d04f80b6b45d3148757970d3f1117493c

linker/debugger.cpp

index 92e9dacdfb50fcd3fd7dda2fd1e7667a9a2c6170..2ccd176a0750bd5d8434e662fb02b690f4368dc0 100644 (file)
 
 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