summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-01 00:52:06 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-01 00:52:06 +0000
commit19750a2c3088e19e37a2f4ad64ec93d91b3d7196 (patch)
tree15d1fb4db018d5cb173119156a536f7e0fbf68b6 /debuggerd
parent936fa72620b120fd982e3fb265cf171b09c447ad (diff)
parentf1935b6d933861d6194bf056a844ec0f11765c38 (diff)
downloadsystem_core-19750a2c3088e19e37a2f4ad64ec93d91b3d7196.zip
system_core-19750a2c3088e19e37a2f4ad64ec93d91b3d7196.tar.gz
system_core-19750a2c3088e19e37a2f4ad64ec93d91b3d7196.tar.bz2
am f1935b6d: am 2e9dcd21: am 1bc6169f: Merge "Remove dead code that looked like part of debuggerd."
* commit 'f1935b6d933861d6194bf056a844ec0f11765c38': Remove dead code that looked like part of debuggerd.
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/crasher.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/debuggerd/crasher.c b/debuggerd/crasher.c
index 5ecb1a5..0033948 100644
--- a/debuggerd/crasher.c
+++ b/debuggerd/crasher.c
@@ -23,19 +23,6 @@ void crash1(void);
void crashnostack(void);
static int do_action(const char* arg);
-static void debuggerd_connect()
-{
- char tmp[1];
- int s;
- sprintf(tmp, "%d", gettid());
- s = socket_local_client("android:debuggerd",
- ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);
- if(s >= 0) {
- read(s, tmp, 1);
- close(s);
- }
-}
-
static void maybeabort() {
if(time(0) != 42) {
abort();