From 20bd1b02be0bec19bdfa1f84185ad068750f0609 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 11 Mar 2014 22:38:00 +0100 Subject: [PATCH] android/system-emulator: Enable bluetoothd debug logs --- android/system-emulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android/system-emulator.c b/android/system-emulator.c index c0804f461..dc468146b 100644 --- a/android/system-emulator.c +++ b/android/system-emulator.c @@ -50,7 +50,7 @@ static pid_t snoop_pid = -1; static void ctl_start(void) { char prg_name[PATH_MAX + 1]; - char *prg_argv[4]; + char *prg_argv[5]; char *prg_envp[3]; pid_t pid; @@ -59,7 +59,8 @@ static void ctl_start(void) prg_argv[0] = "/usr/bin/valgrind"; prg_argv[1] = "--leak-check=full"; prg_argv[2] = prg_name; - prg_argv[3] = NULL; + prg_argv[3] = "-d"; + prg_argv[4] = NULL; prg_envp[0] = "G_SLICE=always-malloc"; prg_envp[1] = "G_DEBUG=gc-friendly"; -- 2.47.3