diff options
author | Szymon Janc <szymon.janc@gmail.com> | 2014-03-11 22:38:00 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@gmail.com> | 2014-03-11 22:50:53 +0100 |
commit | 20bd1b02be0bec19bdfa1f84185ad068750f0609 (patch) | |
tree | 5b0a073e5d645f20c1e66cada226d6cd2be83e4f /android/system-emulator.c | |
parent | b9da63613161e5413e21d4d905b8c3f5dec2af63 (diff) | |
download | bluez-20bd1b02be0bec19bdfa1f84185ad068750f0609.tar.gz |
android/system-emulator: Enable bluetoothd debug logs
Diffstat (limited to 'android/system-emulator.c')
-rw-r--r-- | android/system-emulator.c | 5 |
1 files 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"; |