4.4.4 and debug mode

22 views
Skip to first unread message

beri

unread,
Jun 4, 2016, 7:28:58 PM6/4/16
to Android Building
Hi all, 
I am building Android 4.4.4_r2 and I would like to see all debug messages (i.e., LOGV, LOGI) from the dalvik module. 
As suggested in this forum and elsewhere,  I have updated the Dvm.k and set make_dvm_debug to true so that I get -UNDEBUG
when compiling. For an example of compiled file and option please see the end of this message.

However, when I run the image in the emulator I am not able to see any log message from dalvik machine. 

Any idea? I 


Thanks for your help.


Compilation of Jit.cpp:

prebuilts/tools/gcc-sdk/g++ -I dalvik -I dalvik/vm -I external/zlib -I libcore/include -I dalvik/vm/compiler/codegen/x86/libenc -I dalvik/vm -I out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates -I libnativehelper/include/nativehelper  -isystem system/core/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem external/skia/include -isystem tools/include -isystem out/host/linux-x86/obj/include -c  -fno-exceptions -Wno-multichar -mstackrealign -msse3 -mfpmath=sse -m32 -fPIC -include build/core/combo/include/arch/linux-x86/AndroidConfig.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing  -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wsign-promo    -fstrict-aliasing -Wstrict-aliasing=2 -Wall -Wextra -Wno-unused-parameter -DARCH_VARIANT=\"x86\" -fno-align-jumps -DWITH_INSTR_CHECKS -DWITH_EXTRA_OBJECT_VALIDATION -DWITH_TRACKREF_CHECKS -DWITH_EXTRA_GC_CHECKS=1 -DDVM_SHOW_EXCEPTION=3 -DEASY_GDB -DSHOW_TRACE -DDEBUG=1 -UNDEBUG -DLOG_NDEBUG=0 -DLOG_NIDEBUG=0 -DLOG_NDDEBUG=0 -DWITH_DALVIK_ASSERT -DWITH_JIT -DDVM_JMP_TABLE_MTERP=1 -DMTERP_STUB -DARCH_IA32 -DANDROID_SMP=1     -MD -MF out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/interp/Jit.d -o out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/interp/Jit.o dalvik/vm/interp/Jit.cpp


Reply all
Reply to author
Forward
0 new messages