From 62261d0b6b82b5d8de61eaad6dd5480030dfd3e1 Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Wed, 12 Feb 2014 20:23:47 +0100 Subject: [PATCH] android/README: Add note on libglib under Valgrind --- android/README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/README b/android/README index 75b0a83f5..3095383af 100644 --- a/android/README +++ b/android/README @@ -124,6 +124,12 @@ After changing property value Bluetooth need to be restarted to apply changes (this can be done using UI, just disable and enable it again). Property is persistent, i.e. there's no need to enable Valgrind again after reboot. +It's recommended to have unstripped libglib.so installed which will enable +complete backtraces in Valgrind output. Otherwise, in many cases backtrace +will break at e.g. g_free() function without prior callers. It's possible to +have proper library installed automatically by appropriate entry in Android.mk, +see https://code.google.com/p/aosp-bluez.glib/ for an example. + ============================= Building and running on Linux ============================= -- 2.47.3