Sysprogs forums › Forums › VisualGDB › Need help: visualgdb cannot find gdbserver even though the gdbserver exists
- This topic has 19 replies, 3 voices, and was last updated 8 years, 8 months ago by zhongliu.
-
AuthorPosts
-
March 11, 2016 at 20:44 #7760zhongliuParticipant
Hi,
only obj\local\armeabi-v7a existed there, obj/local/arm64-v8a does not exist.
Here are VisualGDB Launcher Output:
Found 0 .natvis files in the current project
VisualGDB: Executing predebug actions
Launching Android project…
Using settings from a VisualGDB project settings file C:\Zhong\workspace\gdb_test1\gdb_test1\gdb_test1-Debug.vgdbsettings…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe devices
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.build.version.release
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ps
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell id
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d install -r “C:\Zhong\workspace\gdb_test1\gdb_test1\bin\gdb_test1-debug.apk”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell run-as com.visualgdb.example.gdb_test1 /system/bin/sh -c pwd
Using app directory: /data/data/com.visualgdb.example.gdb_test1
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.product.cpu.abi
Detected device EABI: arm64-v8a
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.build.version.sdk
Detecting linker breakpoint workaround for toolchain 23 on 9416189d…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/data/com.visualgdb.example.gdb_test1/lib
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell pm list packages -f
APK file path on device: /data/app/com.visualgdb.example.gdb_test1-2/base.apk
Normal library directory: /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64-v8a
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64-v8a
Normal library directory contains no .so files. Searching for replacements…
Checking /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64
Checking /data/app/com.visualgdb.example.gdb_test1-2/lib/armeabi-v7a…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/armeabi-v7a
Checking /data/app/com.visualgdb.example.gdb_test1-2/lib/armeabi…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/armeabi
Checking Android project ABI…
Device ABI: arm64-v8a
Library directory: C:\Zhong\workspace\gdb_test1\gdb_test1\libs
Missing C:\Zhong\workspace\gdb_test1\gdb_test1\libs\arm64-v8a
Substituting C:\Zhong\workspace\gdb_test1\gdb_test1\libs\armeabi-v7a
Checking for C:\Zhong\workspace\gdb_test1\gdb_test1\libs\armeabi-v7a\gdbserver…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d pull “/data/data/com.visualgdb.example.gdb_test1/lib/libgdb_test1.so” “C:\Users\zl121\AppData\Local\Temp\tmp78E2.tmp”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls -l “/data/data/com.visualgdb.example.gdb_test1/lib/libgdb_test1.so”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell am start -n com.visualgdb.example.gdb_test1/.gdb_test1
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/data/com.visualgdb.example.gdb_test1/lib/gdbserver
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ps
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell run-as com.visualgdb.example.gdb_test1 /data/data/com.visualgdb.example.gdb_test1/lib/gdbserver localhost:5039 –attach 3750
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d forward tcp:5039 tcp:5039
Looking up GDB…
GDB reported by ndk-build: C:/Android/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-gdb.exe
Found toolchain: C:\Android\android-ndk-r10e\toolchains\arm-linux-androideabi-4.8
Found GDB: C:\Android\android-ndk-r10e\toolchains\arm-linux-androideabi-4.8\prebuilt\windows\bin\arm-linux-androideabi-gdb.exe
Creating pending breakpoint…VisualGDB: Executing stop actions
VisualGDB: Executing postdebug actionsMarch 11, 2016 at 20:47 #7761supportKeymasterHi,
OK, what is value assigned to APP_ABI in your Application.mk? Does it include arm64-v8a? If not, please add it there:
APP_ABI := arm64-v8a
March 11, 2016 at 23:30 #7762zhongliuParticipantHi,
Yes, I made the change, but still cannot hit the breakpoint, I collect outputs and listed below:
************* gdbserver output *************
Attached; pid = 3735
gdbserver: Unable to determine the number of hardware watchpoints available.
gdbserver: Unable to determine the number of hardware breakpoints available.
Listening on port 5039
Remote debugging from host 127.0.0.1************* All interaction output *************
C:\Android\android-ndk-r10e\toolchains\aarch64-linux-android-4.9\prebuilt\windows\bin\aarch64-linux-android-gdb.exe –interpreter mi “C:\Users\zl121\AppData\Local\VisualGDB\AndroidBinaryCache\9416189d\app_process64” -x “C:\Zhong\workspace\gdb_test1\gdb_test1\libs\arm64-v8a\gdb.setup”
-gdb-version
=thread-group-added,id=”i1″
~”GNU gdb (GDB) 7.7\n”
~”Copyright (C) 2014 Free Software Foundation, Inc.\n”
~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \”show copying\”\nand \”show warranty\” for details.\n”
~”This GDB was configured as \”–host=i586-pc-mingw32msvc –target=aarch64-elf-linux\”.\nType \”show configuration\” for configuration details.”
~”\nFor bug reporting instructions, please see:\n”
~”<http://source.android.com/source/report-bugs.html>.\n”
~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n”
~”For help, type \”help\”.\n”
~”Type \”apropos word\” to search for commands related to \”word\”…\n”
~”Reading symbols from C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\app_process64…”
~”(no debugging symbols found)…done.\n”
=cmd-param-changed,param=”solib-search-path”,value=”./obj/local/arm64-v8a”
~”GNU gdb (GDB) 7.7\n”
~”Copyright (C) 2014 Free Software Foundation, Inc.\n”
~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \”show copying\”\nand \”show warranty\” for details.\n”
~”This GDB was configured as \”–host=i586-pc-mingw32msvc –target=aarch64-elf-linux\”.\nType \”show configuration\” for configuration details.”
~”\nFor bug reporting instructions, please see:\n”
~”<http://source.android.com/source/report-bugs.html>.\n”
~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n”
~”For help, type \”help\”.\n”
~”Type \”apropos word\” to search for commands related to \”word\”.\n”
^done
-list-features
^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”language-option”,”info-gdb-mi-command”,”undefined-command-error-code”,”exec-run-start-option”,”python”]
-gdb-set stop-on-solib-events 1
^done
-gdb-set disassembly-flavor intel
^error,msg=”No symbol table is loaded. Use the \”file\” command.”
-gdb-set print demangle off
^done
-gdb-set solib-search-path C:/Users/zl121/AppData/Local/VisualGDB/AndroidBinaryCache/9416189d;C:/Zhong/workspace/gdb_test1/gdb_test1/obj/local/arm64-v8a
^done
-target-select remote :5039
=thread-group-started,id=”i1″,pid=”3735″
=thread-created,id=”1″,group-id=”i1″
=library-loaded,id=”/system/bin/linker64″,target-name=”/system/bin/linker64″,host-name=”C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\linker64″,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libNimsWrap.so”,target-name=”/system/vendor/lib64/libNimsWrap.so”,host-name=”/system/vendor/lib64/libNimsWrap.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcutils.so”,target-name=”/system/lib64/libcutils.so”,host-name=”/system/lib64/libcutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libutils.so”,target-name=”/system/lib64/libutils.so”,host-name=”/system/lib64/libutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/liblog.so”,target-name=”/system/lib64/liblog.so”,host-name=”/system/lib64/liblog.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbinder.so”,target-name=”/system/lib64/libbinder.so”,host-name=”/system/lib64/libbinder.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libandroid_runtime.so”,target-name=”/system/lib64/libandroid_runtime.so”,host-name=”/system/lib64/libandroid_runtime.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libwilhelm.so”,target-name=”/system/lib64/libwilhelm.so”,host-name=”/system/lib64/libwilhelm.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libc++.so”,target-name=”/system/lib64/libc++.so”,host-name=”/system/lib64/libc++.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libc.so”,target-name=”/system/lib64/libc.so”,host-name=”C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\libc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libm.so”,target-name=”/system/lib64/libm.so”,host-name=”/system/lib64/libm.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbacktrace.so”,target-name=”/system/lib64/libbacktrace.so”,host-name=”/system/lib64/libbacktrace.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmemtrack.so”,target-name=”/system/lib64/libmemtrack.so”,host-name=”/system/lib64/libmemtrack.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libandroidfw.so”,target-name=”/system/lib64/libandroidfw.so”,host-name=”/system/lib64/libandroidfw.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libexpat.so”,target-name=”/system/lib64/libexpat.so”,host-name=”/system/lib64/libexpat.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnativehelper.so”,target-name=”/system/lib64/libnativehelper.so”,host-name=”/system/lib64/libnativehelper.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnetutils.so”,target-name=”/system/lib64/libnetutils.so”,host-name=”/system/lib64/libnetutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libui.so”,target-name=”/system/lib64/libui.so”,host-name=”/system/lib64/libui.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libgui.so”,target-name=”/system/lib64/libgui.so”,host-name=”/system/lib64/libgui.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libinput.so”,target-name=”/system/lib64/libinput.so”,host-name=”/system/lib64/libinput.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libinputflinger.so”,target-name=”/system/lib64/libinputflinger.so”,host-name=”/system/lib64/libinputflinger.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcamera_client.so”,target-name=”/system/lib64/libcamera_client.so”,host-name=”/system/lib64/libcamera_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcamera_metadata.so”,target-name=”/system/lib64/libcamera_metadata.so”,host-name=”/system/lib64/libcamera_metadata.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libskia.so”,target-name=”/system/lib64/libskia.so”,host-name=”/system/lib64/libskia.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsqlite.so”,target-name=”/system/lib64/libsqlite.so”,host-name=”/system/lib64/libsqlite.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libEGL.so”,target-name=”/system/lib64/libEGL.so”,host-name=”/system/lib64/libEGL.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libGLESv1_CM.so”,target-name=”/system/lib64/libGLESv1_CM.so”,host-name=”/system/lib64/libGLESv1_CM.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libGLESv2.so”,target-name=”/system/lib64/libGLESv2.so”,host-name=”/system/lib64/libGLESv2.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libETC1.so”,target-name=”/system/lib64/libETC1.so”,host-name=”/system/lib64/libETC1.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libhardware.so”,target-name=”/system/lib64/libhardware.so”,host-name=”/system/lib64/libhardware.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libhardware_legacy.so”,target-name=”/system/lib64/libhardware_legacy.so”,host-name=”/system/lib64/libhardware_legacy.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libselinux.so”,target-name=”/system/lib64/libselinux.so”,host-name=”/system/lib64/libselinux.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsonivox.so”,target-name=”/system/lib64/libsonivox.so”,host-name=”/system/lib64/libsonivox.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcrypto.so”,target-name=”/system/lib64/libcrypto.so”,host-name=”/system/lib64/libcrypto.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libssl.so”,target-name=”/system/lib64/libssl.so”,host-name=”/system/lib64/libssl.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libicuuc.so”,target-name=”/system/lib64/libicuuc.so”,host-name=”/system/lib64/libicuuc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libicui18n.so”,target-name=”/system/lib64/libicui18n.so”,host-name=”/system/lib64/libicui18n.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmedia.so”,target-name=”/system/lib64/libmedia.so”,host-name=”/system/lib64/libmedia.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjpeg.so”,target-name=”/system/lib64/libjpeg.so”,host-name=”/system/lib64/libjpeg.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libusbhost.so”,target-name=”/system/lib64/libusbhost.so”,host-name=”/system/lib64/libusbhost.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libharfbuzz_ng.so”,target-name=”/system/lib64/libharfbuzz_ng.so”,host-name=”/system/lib64/libharfbuzz_ng.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libz.so”,target-name=”/system/lib64/libz.so”,host-name=”/system/lib64/libz.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libaudioutils.so”,target-name=”/system/lib64/libaudioutils.so”,host-name=”/system/lib64/libaudioutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpdfium.so”,target-name=”/system/lib64/libpdfium.so”,host-name=”/system/lib64/libpdfium.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libimg_utils.so”,target-name=”/system/lib64/libimg_utils.so”,host-name=”/system/lib64/libimg_utils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnetd_client.so”,target-name=”/system/lib64/libnetd_client.so”,host-name=”/system/lib64/libnetd_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libradio.so”,target-name=”/system/lib64/libradio.so”,host-name=”/system/lib64/libradio.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsoundtrigger.so”,target-name=”/system/lib64/libsoundtrigger.so”,host-name=”/system/lib64/libsoundtrigger.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libminikin.so”,target-name=”/system/lib64/libminikin.so”,host-name=”/system/lib64/libminikin.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libprocessgroup.so”,target-name=”/system/lib64/libprocessgroup.so”,host-name=”/system/lib64/libprocessgroup.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnativebridge.so”,target-name=”/system/lib64/libnativebridge.so”,host-name=”/system/lib64/libnativebridge.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libradio_metadata.so”,target-name=”/system/lib64/libradio_metadata.so”,host-name=”/system/lib64/libradio_metadata.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libhwui.so”,target-name=”/system/lib64/libhwui.so”,host-name=”/system/lib64/libhwui.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright.so”,target-name=”/system/lib64/libstagefright.so”,host-name=”/system/lib64/libstagefright.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_foundation.so”,target-name=”/system/lib64/libstagefright_foundation.so”,host-name=”/system/lib64/libstagefright_foundation.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_http_support.so”,target-name=”/system/lib64/libstagefright_http_support.so”,host-name=”/system/lib64/libstagefright_http_support.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libeffects.so”,target-name=”/system/lib64/libeffects.so”,host-name=”/system/lib64/libeffects.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbase.so”,target-name=”/system/lib64/libbase.so”,host-name=”/system/lib64/libbase.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libunwind.so”,target-name=”/system/lib64/libunwind.so”,host-name=”/system/lib64/libunwind.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstdc++.so”,target-name=”/system/lib64/libstdc++.so”,host-name=”/system/lib64/libstdc++.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsync.so”,target-name=”/system/lib64/libsync.so”,host-name=”/system/lib64/libsync.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpng.so”,target-name=”/system/lib64/libpng.so”,host-name=”/system/lib64/libpng.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libft2.so”,target-name=”/system/lib64/libft2.so”,host-name=”/system/lib64/libft2.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqc-opt.so”,target-name=”/system/vendor/lib64/libqc-opt.so”,host-name=”/system/vendor/lib64/libqc-opt.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libGLES_trace.so”,target-name=”/system/lib64/libGLES_trace.so”,host-name=”/system/lib64/libGLES_trace.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libwpa_client.so”,target-name=”/system/lib64/libwpa_client.so”,host-name=”/system/lib64/libwpa_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpcre.so”,target-name=”/system/lib64/libpcre.so”,host-name=”/system/lib64/libpcre.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnbaio.so”,target-name=”/system/lib64/libnbaio.so”,host-name=”/system/lib64/libnbaio.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libspeexresampler.so”,target-name=”/system/lib64/libspeexresampler.so”,host-name=”/system/lib64/libspeexresampler.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libRS.so”,target-name=”/system/lib64/libRS.so”,host-name=”/system/lib64/libRS.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libRScpp.so”,target-name=”/system/lib64/libRScpp.so”,host-name=”/system/lib64/libRScpp.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libdrmframework.so”,target-name=”/system/lib64/libdrmframework.so”,host-name=”/system/lib64/libdrmframework.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmediautils.so”,target-name=”/system/lib64/libmediautils.so”,host-name=”/system/lib64/libmediautils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libopus.so”,target-name=”/system/lib64/libopus.so”,host-name=”/system/lib64/libopus.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_omx.so”,target-name=”/system/lib64/libstagefright_omx.so”,host-name=”/system/lib64/libstagefright_omx.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_yuv.so”,target-name=”/system/lib64/libstagefright_yuv.so”,host-name=”/system/lib64/libstagefright_yuv.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libvorbisidec.so”,target-name=”/system/lib64/libvorbisidec.so”,host-name=”/system/lib64/libvorbisidec.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpowermanager.so”,target-name=”/system/lib64/libpowermanager.so”,host-name=”/system/lib64/libpowermanager.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_enc_common.so”,target-name=”/system/lib64/libstagefright_enc_common.so”,host-name=”/system/lib64/libstagefright_enc_common.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_avc_common.so”,target-name=”/system/lib64/libstagefright_avc_common.so”,host-name=”/system/lib64/libstagefright_avc_common.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libprotobuf-cpp-lite.so”,target-name=”/system/lib64/libprotobuf-cpp-lite.so”,host-name=”/system/lib64/libprotobuf-cpp-lite.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcommon_time_client.so”,target-name=”/system/lib64/libcommon_time_client.so”,host-name=”/system/lib64/libcommon_time_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbcc.so”,target-name=”/system/lib64/libbcc.so”,host-name=”/system/lib64/libbcc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbcinfo.so”,target-name=”/system/lib64/libbcinfo.so”,host-name=”/system/lib64/libbcinfo.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libLLVM.so”,target-name=”/system/lib64/libLLVM.so”,host-name=”/system/lib64/libLLVM.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”[vdso]”,target-name=”[vdso]”,host-name=”[vdso]”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libcneconn.so”,target-name=”/system/vendor/lib64/libcneconn.so”,host-name=”/system/vendor/lib64/libcneconn.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libvendorconn.so”,target-name=”/system/vendor/lib64/libvendorconn.so”,host-name=”/system/vendor/lib64/libvendorconn.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libavenhancements.so”,target-name=”/system/vendor/lib64/libavenhancements.so”,host-name=”/system/vendor/lib64/libavenhancements.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_httplive.so”,target-name=”/system/lib64/libstagefright_httplive.so”,host-name=”/system/lib64/libstagefright_httplive.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmediaplayerservice.so”,target-name=”/system/lib64/libmediaplayerservice.so”,host-name=”/system/lib64/libmediaplayerservice.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_wfd.so”,target-name=”/system/lib64/libstagefright_wfd.so”,host-name=”/system/lib64/libstagefright_wfd.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcurl.so”,target-name=”/system/lib64/libcurl.so”,host-name=”/system/lib64/libcurl.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libExtendedExtractor.so”,target-name=”/system/vendor/lib64/libExtendedExtractor.so”,host-name=”/system/vendor/lib64/libExtendedExtractor.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libdashplayer.so”,target-name=”/system/lib64/libdashplayer.so”,host-name=”/system/lib64/libdashplayer.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libart.so”,target-name=”/system/lib64/libart.so”,host-name=”/system/lib64/libart.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsigchain.so”,target-name=”/system/lib64/libsigchain.so”,host-name=”/system/lib64/libsigchain.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjavacore.so”,target-name=”/system/lib64/libjavacore.so”,host-name=”/system/lib64/libjavacore.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/hw/memtrack.msm8996.so”,target-name=”/system/lib64/hw/memtrack.msm8996.so”,host-name=”/system/lib64/hw/memtrack.msm8996.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqti-at.so”,target-name=”/system/vendor/lib64/libqti-at.so”,host-name=”/system/vendor/lib64/libqti-at.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqti-gt.so”,target-name=”/system/vendor/lib64/libqti-gt.so”,host-name=”/system/vendor/lib64/libqti-gt.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libxml2.so”,target-name=”/system/lib64/libxml2.so”,host-name=”/system/lib64/libxml2.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqti-perfd-client.so”,target-name=”/system/vendor/lib64/libqti-perfd-client.so”,host-name=”/system/vendor/lib64/libqti-perfd-client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmedia_jni.so”,target-name=”/system/lib64/libmedia_jni.so”,host-name=”/system/lib64/libmedia_jni.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmtp.so”,target-name=”/system/lib64/libmtp.so”,host-name=”/system/lib64/libmtp.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjhead.so”,target-name=”/system/lib64/libjhead.so”,host-name=”/system/lib64/libjhead.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libexif.so”,target-name=”/system/lib64/libexif.so”,host-name=”/system/lib64/libexif.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_amrnb_common.so”,target-name=”/system/lib64/libstagefright_amrnb_common.so”,host-name=”/system/lib64/libstagefright_amrnb_common.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libextmedia_jni.so”,target-name=”/system/lib64/libextmedia_jni.so”,host-name=”/system/lib64/libextmedia_jni.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex”,target-name=”/data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex”,host-name=”/data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjavacrypto.so”,target-name=”/system/lib64/libjavacrypto.so”,host-name=”/system/lib64/libjavacrypto.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeystore-engine.so”,target-name=”/system/lib64/libkeystore-engine.so”,host-name=”/system/lib64/libkeystore-engine.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeystore_binder.so”,target-name=”/system/lib64/libkeystore_binder.so”,host-name=”/system/lib64/libkeystore_binder.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsoftkeymasterdevice.so”,target-name=”/system/lib64/libsoftkeymasterdevice.so”,host-name=”/system/lib64/libsoftkeymasterdevice.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeymaster_messages.so”,target-name=”/system/lib64/libkeymaster_messages.so”,host-name=”/system/lib64/libkeymaster_messages.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeymaster1.so”,target-name=”/system/lib64/libkeymaster1.so”,host-name=”/system/lib64/libkeymaster1.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/libEGL_adreno.so”,target-name=”/system/vendor/lib64/egl/libEGL_adreno.so”,host-name=”/system/vendor/lib64/egl/libEGL_adreno.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libadreno_utils.so”,target-name=”/system/vendor/lib64/libadreno_utils.so”,host-name=”/system/vendor/lib64/libadreno_utils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libgsl.so”,target-name=”/system/vendor/lib64/libgsl.so”,host-name=”/system/vendor/lib64/libgsl.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/libGLESv2_adreno.so”,target-name=”/system/vendor/lib64/egl/libGLESv2_adreno.so”,host-name=”/system/vendor/lib64/egl/libGLESv2_adreno.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libllvm-glnext.so”,target-name=”/system/vendor/lib64/libllvm-glnext.so”,host-name=”/system/vendor/lib64/libllvm-glnext.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/libGLESv1_CM_adreno.so”,target-name=”/system/vendor/lib64/egl/libGLESv1_CM_adreno.so”,host-name=”/system/vendor/lib64/egl/libGLESv1_CM_adreno.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/eglSubDriverAndroid.so”,target-name=”/system/vendor/lib64/egl/eglSubDriverAndroid.so”,host-name=”/system/vendor/lib64/egl/eglSubDriverAndroid.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/hw/gralloc.msm8996.so”,target-name=”/system/lib64/hw/gralloc.msm8996.so”,host-name=”/system/lib64/hw/gralloc.msm8996.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmemalloc.so”,target-name=”/system/lib64/libmemalloc.so”,host-name=”/system/lib64/libmemalloc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libqdMetaData.so”,target-name=”/system/lib64/libqdMetaData.so”,host-name=”/system/lib64/libqdMetaData.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libqdutils.so”,target-name=”/system/lib64/libqdutils.so”,host-name=”/system/lib64/libqdutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libqservice.so”,target-name=”/system/lib64/libqservice.so”,host-name=”/system/lib64/libqservice.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libandroid.so”,target-name=”/system/lib64/libandroid.so”,host-name=”/system/lib64/libandroid.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcompiler_rt.so”,target-name=”/system/lib64/libcompiler_rt.so”,host-name=”/system/lib64/libcompiler_rt.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjnigraphics.so”,target-name=”/system/lib64/libjnigraphics.so”,host-name=”/system/lib64/libjnigraphics.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libwebviewchromium_loader.so”,target-name=”/system/lib64/libwebviewchromium_loader.so”,host-name=”/system/lib64/libwebviewchromium_loader.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/data/app/com.visualgdb.example.gdb_test1-1/oat/arm64/base.odex”,target-name=”/data/app/com.visualgdb.example.gdb_test1-1/oat/arm64/base.odex”,host-name=”/data/app/com.visualgdb.example.gdb_test1-1/oat/arm64/base.odex”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/data/app/com.visualgdb.example.gdb_test1-1/lib/arm64/libgdb_test1.so”,target-name=”/data/app/com.visualgdb.example.gdb_test1-1/lib/arm64/libgdb_test1.so”,host-name=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\obj\\local\\arm64-v8a\\libgdb_test1.so”,symbols-loaded=”0″,thread-group=”i1″
&”warning: Could not load shared library symbols for 131 libraries, e.g. /system/vendor/lib64/libNimsWrap.so.\nUse the \”info sharedlibrary\” command to see the complete listing.\nDo you need \”set solib-search-path\” or \”set sysroot\”?”
&”\n”
*stopped,frame={addr=”0x0000007f7bc9b374″,func=”__epoll_pwait”,args=[],from=”C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\libc.so”},thread-id=”1″,stopped-threads=”all”,core=”2″
^connected
-break-list
^done,BreakpointTable={nr_rows=”0″,nr_cols=”6″,hdr=[{width=”7″,alignment=”-1″,col_name=”number”,colhdr=”Num”},{width=”14″,alignment=”-1″,col_name=”type”,colhdr=”Type”},{width=”4″,alignment=”-1″,col_name=”disp”,colhdr=”Disp”},{width=”3″,alignment=”-1″,col_name=”enabled”,colhdr=”Enb”},{width=”10″,alignment=”-1″,col_name=”addr”,colhdr=”Address”},{width=”40″,alignment=”2″,col_name=”what”,colhdr=”What”}],body=[]}
info shared
&”info shared\n”
~”From To Syms Read Shared Object Library\n”
~”0x0000007f7c0e1c80 0x0000007f7c105db8 Yes C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\linker64\n”
~” No /system/vendor/lib64/libNimsWrap.so\n”
~” No /system/lib64/libcutils.so\n”
~” No /system/lib64/libutils.so\n”
~” No /system/lib64/liblog.so\n”
~” No /system/lib64/libbinder.so\n”
~” No /system/lib64/libandroid_runtime.so\n”
~” No /system/lib64/libwilhelm.so\n”
~” No /system/lib64/libc++.so\n”
~”0x0000007f7bc4c340 0x0000007f7bccd25c Yes C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\libc.so\n”
~” No /system/lib64/libm.so\n”
~” No /system/lib64/libbacktrace.so\n”
~” No /system/lib64/libmemtrack.so\n”
~” No /system/lib64/libandroidfw.so\n”
~” No /system/lib64/libexpat.so\n”
~” No /system/lib64/libnativehelper.so\n”
~” No /system/lib64/libnetutils.so\n”
~” No /system/lib64/libui.so\n”
~” No /system/lib64/libgui.so\n”
~” No /system/lib64/libinput.so\n”
~” No /system/lib64/libinputflinger.so\n”
~” No /system/lib64/libcamera_client.so\n”
~” No /system/lib64/libcamera_metadata.so\n”
~” No /system/lib64/libskia.so\n”
~” No /system/lib64/libsqlite.so\n”
~” No /system/lib64/libEGL.so\n”
~” No /system/lib64/libGLESv1_CM.so\n”
~” No /system/lib64/libGLESv2.so\n”
~” No /system/lib64/libETC1.so\n”
~” No /system/lib64/libhardware.so\n”
~” No /system/lib64/libhardware_legacy.so\n”
~” No /system/lib64/libselinux.so\n”
~” No /system/lib64/libsonivox.so\n”
~” No /system/lib64/libcrypto.so\n”
~” No /system/lib64/libssl.so\n”
~” No /system/lib64/libicuuc.so\n”
~” No /system/lib64/libicui18n.so\n”
~” No /system/lib64/libmedia.so\n”
~” No /system/lib64/libjpeg.so\n”
~” No /system/lib64/libusbhost.so\n”
~” No /system/lib64/libharfbuzz_ng.so\n”
~” No /system/lib64/libz.so\n”
~” No /system/lib64/libaudioutils.so\n”
~” No /system/lib64/libpdfium.so\n”
~” No /system/lib64/libimg_utils.so\n”
~” No /system/lib64/libnetd_client.so\n”
~” No /system/lib64/libradio.so\n”
~” No /system/lib64/libsoundtrigger.so\n”
~” No /system/lib64/libminikin.so\n”
~” No /system/lib64/libprocessgroup.so\n”
~” No /system/lib64/libnativebridge.so\n”
~” No /system/lib64/libradio_metadata.so\n”
~” No /system/lib64/libhwui.so\n”
~” No /system/lib64/libstagefright.so\n”
~” No /system/lib64/libstagefright_foundation.so\n”
~” No /system/lib64/libstagefright_http_support.so\n”
~” No /system/lib64/libeffects.so\n”
~” No /system/lib64/libbase.so\n”
~” No /system/lib64/libunwind.so\n”
~” No /system/lib64/libstdc++.so\n”
~” No /system/lib64/libsync.so\n”
~” No /system/lib64/libpng.so\n”
~” No /system/lib64/libft2.so\n”
~” No /system/vendor/lib64/libqc-opt.so\n”
~” No /system/lib64/libGLES_trace.so\n”
~” No /system/lib64/libwpa_client.so\n”
~” No /system/lib64/libpcre.so\n”
~” No /system/lib64/libnbaio.so\n”
~” No /system/lib64/libspeexresampler.so\n”
~” No /system/lib64/libRS.so\n”
~” No /system/lib64/libRScpp.so\n”
~” No /system/lib64/libdrmframework.so\n”
~” No /system/lib64/libmediautils.so\n”
~” No /system/lib64/libopus.so\n”
~” No /system/lib64/libstagefright_omx.so\n”
~” No /system/lib64/libstagefright_yuv.so\n”
~” No /system/lib64/libvorbisidec.so\n”
~” No /system/lib64/libpowermanager.so\n”
~” No /system/lib64/libstagefright_enc_common.so\n”
~” No /system/lib64/libstagefright_avc_common.so\n”
~” No /system/lib64/libprotobuf-cpp-lite.so\n”
~” No /system/lib64/libcommon_time_client.so\n”
~” No /system/lib64/libbcc.so\n”
~” No /system/lib64/libbcinfo.so\n”
~” No /system/lib64/libLLVM.so\n”
~” No [vdso]\n”
~” No /system/vendor/lib64/libcneconn.so\n”
~” No /system/vendor/lib64/libvendorconn.so\n”
~” No /system/vendor/lib64/libavenhancements.so\n”
~” No /system/lib64/libstagefright_httplive.so\n”
~” No /system/lib64/libmediaplayerservice.so\n”
~” No /system/lib64/libstagefright_wfd.so\n”
~” No /system/lib64/libcurl.so\n”
~” No /system/vendor/lib64/libExtendedExtractor.so\n”
~” No /system/lib64/libdashplayer.so\n”
~” No /system/lib64/libart.so\n”
~” No /system/lib64/libsigchain.so\n”
~” No /system/lib64/libjavacore.so\n”
~” No /system/lib64/hw/memtrack.msm8996.so\n”
~” No /system/vendor/lib64/libqti-at.so\n”
~” No /system/vendor/lib64/libqti-gt.so\n”
~” No /system/lib64/libxml2.so\n”
~” No /system/vendor/lib64/libqti-perfd-client.so\n”
~” No /system/lib64/libmedia_jni.so\n”
~” No /system/lib64/libmtp.so\n”
~” No /system/lib64/libjhead.so\n”
~” No /system/lib64/libexif.so\n”
~” No /system/lib64/libstagefright_amrnb_common.so\n”
~” No /system/lib64/libextmedia_jni.so\n”
~” No /data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex\n”
~” No /system/lib64/libjavacrypto.so\n”
~” No /system/lib64/libkeystore-engine.so\n”
~” No /system/lib64/libkeystore_binder.so\n”
~” No /system/lib64/libsoftkeymasterdevice.so\n”
~” No /system/lib64/libkeymaster_messages.so\n”
~” No /system/lib64/libkeymaster1.so\n”
~” No /system/vendor/lib64/egl/libEGL_adreno.so\n”
~” No /system/vendor/lib64/libadreno_utils.so\n”
~” No /system/vendor/lib64/libgsl.so\n”
~” No /system/vendor/lib64/egl/libGLESv2_adreno.so\n”
~” No /system/vendor/lib64/libllvm-glnext.so\n”
~” No /system/vendor/lib64/egl/libGLESv1_CM_adreno.so\n”
~” No /system/vendor/lib64/egl/eglSubDriverAndroid.so\n”
~” No /system/lib64/hw/gralloc.msm8996.so\n”
~” No /system/lib64/libmemalloc.so\n”
~” No /system/lib64/libqdMetaData.so\n”
~” No /system/lib64/libqdutils.so\n”
~” No /system/lib64/libqservice.so\n”
~” No /system/lib64/libandroid.so\n”
~” No /system/lib64/libcompiler_rt.so\n”
~” No /system/lib64/libjnigraphics.so\n”
~” No /system/lib64/libwebviewchromium_loader.so\n”
~” No /data/app/com.visualgdb.example.gdb_test1-1/oat/arm64/base.odex\n”
~”0x0000007f772205a0 0x0000007f77220698 Yes C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\obj\\local\\arm64-v8a\\libgdb_test1.so\n”
^done
-break-insert -f C:\Zhong\workspace\gdb_test1\gdb_test1\jni\gdb_test1.c:30
^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000007f7722060c”,func=”Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI”,file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”,line=”30″,thread-groups=[“i1″],times=”0″,original-location=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c:30″}
-break-info 1
^done,BreakpointTable={nr_rows=”1″,nr_cols=”6″,hdr=[{width=”7″,alignment=”-1″,col_name=”number”,colhdr=”Num”},{width=”14″,alignment=”-1″,col_name=”type”,colhdr=”Type”},{width=”4″,alignment=”-1″,col_name=”disp”,colhdr=”Disp”},{width=”3″,alignment=”-1″,col_name=”enabled”,colhdr=”Enb”},{width=”18″,alignment=”-1″,col_name=”addr”,colhdr=”Address”},{width=”40″,alignment=”2″,col_name=”what”,colhdr=”What”}],body=[bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000007f7722060c”,func=”Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI”,file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”,line=”30″,thread-groups=[“i1″],times=”0″,original-location=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c:30″}]}
-break-after 1 0
^done
info symbol 0x7f7722060c
&”info symbol 0x7f7722060c\n”
~”Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI + 48 in section .text of C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\obj\\local\\arm64-v8a\\libgdb_test1.so\n”
^done
info line *0x7f7722060c
&”info line *0x7f7722060c\n”
~”Line 30 of \”jni/gdb_test1.c\” starts at address 0x7f7722060c <Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI+48> and ends at 0x7f7722063c <Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI+96>.\n”
^done
-file-list-exec-source-files
^done,files=[{file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”},{file=”<built-in>”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1/<built-in>”},{file=”C:/Android/android-ndk-r10e/platforms/android-21/arch-arm64/usr/include/jni.h”,fullname=”C:\\Android\\android-ndk-r10e\\platforms\\android-21\\arch-arm64\\usr\\include\\jni.h”},{file=”c:\\android\\android-ndk-r10e\\toolchains\\aarch64-linux-android-4.9\\prebuilt\\windows\\lib\\gcc\\aarch64-linux-android\\4.9\\include/stdarg.h”,fullname=”c:\\android\\android-ndk-r10e\\toolchains\\aarch64-linux-android-4.9\\prebuilt\\windows\\lib\\gcc\\aarch64-linux-android\\4.9\\include\\stdarg.h”}]
-exec-continue
^running
*running,thread-id=”all”***************** content of Application.mk ****************************
APP_ABI := armeabi armeabi-v7a arm64-v8acan found obj/local/arm64-v8a obj/local/armeabi obj/local/armeabi-v7a
****************** GDB launch output **************
Found 0 .natvis files in the current project
VisualGDB: Executing predebug actions
Launching Android project…
Using settings from a VisualGDB project settings file C:\Zhong\workspace\gdb_test1\gdb_test1\gdb_test1-Debug.vgdbsettings…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe devices
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.build.version.release
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ps
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell id
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d install -r “C:\Zhong\workspace\gdb_test1\gdb_test1\bin\gdb_test1-debug.apk”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell run-as com.visualgdb.example.gdb_test1 /system/bin/sh -c pwd
Using app directory: /data/data/com.visualgdb.example.gdb_test1
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.product.cpu.abi
Detected device EABI: arm64-v8a
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.build.version.sdk
Detecting linker breakpoint workaround for toolchain 23 on 9416189d…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/data/com.visualgdb.example.gdb_test1/lib
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell pm list packages -f
APK file path on device: /data/app/com.visualgdb.example.gdb_test1-1/base.apk
Normal library directory: /data/app/com.visualgdb.example.gdb_test1-1/lib/arm64-v8a
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-1/lib/arm64-v8a
Normal library directory contains no .so files. Searching for replacements…
Checking /data/app/com.visualgdb.example.gdb_test1-1/lib/arm64…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-1/lib/arm64
Found .so files. Using /data/data/com.visualgdb.example.gdb_test1/lib as the new library directory
Checking Android project ABI…
Device ABI: arm64-v8a
Library directory: C:\Zhong\workspace\gdb_test1\gdb_test1\libs
Checking for C:\Zhong\workspace\gdb_test1\gdb_test1\libs\arm64-v8a\gdbserver…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d pull “/data/app/com.visualgdb.example.gdb_test1-1/lib/arm64/libgdb_test1.so” “C:\Users\zl121\AppData\Local\Temp\tmpC58A.tmp”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell am start -n com.visualgdb.example.gdb_test1/.gdb_test1
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-1/lib/arm64/gdbserver
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ps
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell run-as com.visualgdb.example.gdb_test1 /data/app/com.visualgdb.example.gdb_test1-1/lib/arm64/gdbserver localhost:5039 –attach 3735
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d forward tcp:5039 tcp:5039
Looking up GDB…
GDB reported by ndk-build: C:/Android/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/windows/bin/aarch64-linux-android-gdb.exe
Found toolchain: C:\Android\android-ndk-r10e\toolchains\aarch64-linux-android-4.9
Found GDB: C:\Android\android-ndk-r10e\toolchains\aarch64-linux-android-4.9\prebuilt\windows\bin\aarch64-linux-android-gdb.exe
Creating pending breakpoint…VisualGDB: Executing stop actions
VisualGDB: Executing postdebug actionsMarch 12, 2016 at 04:14 #7763supportKeymasterHi,
OK, strange. According to your log file, the breakpoint gets set correctly. Please try modifying your code as follows:
- Add a function “void test() {asm(“nop”);}
- Change the stringFromJNI() function to return the address of the test() function instead of the counter: sprintf(sz, “test=0x%x”, &test);
- Set a breakpoint in ‘test’ by name (Ctrl-B).
Does the address of ‘test’ reported in the GDB log match the address returned by the stringFromJNI() function? Does the breakpoint still not hit?
March 14, 2016 at 18:51 #7775zhongliuParticipantHi
changed the code like this:
void test()
{
asm(“nop”);
}jstring
Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI( JNIEnv* env,
jobject thiz )
{
char szBuf[512];
test();
sprintf(szBuf, “test = 0x%x”, (unsigned int)&test);
jstring str = (*env)->NewStringUTF(env, szBuf);
return str;
}still cannot hit break point,
************************ gdbserver output is:
Attached; pid = 5214
gdbserver: Unable to determine the number of hardware watc
hpoints available.
gdbserver: Unable to determine the number of hardware brea
kpoints available.
Listening on port 5039
Remote debugging from host 127.0.0.1*********************** All gdb interaction:
Your VisualGDB trial expires in 3 days!
C:\Android\android-ndk-r10e\toolchains\aarch64-linux-android-4.9\prebuilt\windows\bin\aarch64-linux-android-gdb.exe –interpreter mi “C:\Users\zl121\AppData\Local\VisualGDB\AndroidBinaryCache\9416189d\app_process64” -x “C:\Zhong\workspace\gdb_test1\gdb_test1\libs\arm64-v8a\gdb.setup”
-gdb-version
=thread-group-added,id=”i1″
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “–host=i586-pc-mingw32msvc –target=aarch64-elf-linux”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<http://source.android.com/source/report-bugs.html>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from C:\Users\zl121\AppData\Local\VisualGDB\AndroidBinaryCache\9416189d\app_process64…
(no debugging symbols found)…done.
=cmd-param-changed,param=”solib-search-path”,value=”./obj/local/arm64-v8a”
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “–host=i586-pc-mingw32msvc –target=aarch64-elf-linux”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<http://source.android.com/source/report-bugs.html>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”.
OK
-list-features
^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”language-option”,”info-gdb-mi-command”,”undefined-command-error-code”,”exec-run-start-option”,”python”]
-gdb-set stop-on-solib-events 1
OK
-gdb-set disassembly-flavor intel
No symbol table is loaded. Use the “file” command.
-gdb-set print demangle off
OK
-gdb-set solib-search-path C:/Users/zl121/AppData/Local/VisualGDB/AndroidBinaryCache/9416189d;C:/Zhong/workspace/gdb_test1/gdb_test1/obj/local/arm64-v8a
OK
-target-select remote :5039
=thread-group-started,id=”i1″,pid=”5214″
=thread-created,id=”1″,group-id=”i1″
=library-loaded,id=”/system/bin/linker64″,target-name=”/system/bin/linker64″,host-name=”C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\linker64″,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libNimsWrap.so”,target-name=”/system/vendor/lib64/libNimsWrap.so”,host-name=”/system/vendor/lib64/libNimsWrap.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcutils.so”,target-name=”/system/lib64/libcutils.so”,host-name=”/system/lib64/libcutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libutils.so”,target-name=”/system/lib64/libutils.so”,host-name=”/system/lib64/libutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/liblog.so”,target-name=”/system/lib64/liblog.so”,host-name=”/system/lib64/liblog.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbinder.so”,target-name=”/system/lib64/libbinder.so”,host-name=”/system/lib64/libbinder.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libandroid_runtime.so”,target-name=”/system/lib64/libandroid_runtime.so”,host-name=”/system/lib64/libandroid_runtime.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libwilhelm.so”,target-name=”/system/lib64/libwilhelm.so”,host-name=”/system/lib64/libwilhelm.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libc++.so”,target-name=”/system/lib64/libc++.so”,host-name=”/system/lib64/libc++.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libc.so”,target-name=”/system/lib64/libc.so”,host-name=”C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\libc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libm.so”,target-name=”/system/lib64/libm.so”,host-name=”/system/lib64/libm.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbacktrace.so”,target-name=”/system/lib64/libbacktrace.so”,host-name=”/system/lib64/libbacktrace.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmemtrack.so”,target-name=”/system/lib64/libmemtrack.so”,host-name=”/system/lib64/libmemtrack.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libandroidfw.so”,target-name=”/system/lib64/libandroidfw.so”,host-name=”/system/lib64/libandroidfw.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libexpat.so”,target-name=”/system/lib64/libexpat.so”,host-name=”/system/lib64/libexpat.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnativehelper.so”,target-name=”/system/lib64/libnativehelper.so”,host-name=”/system/lib64/libnativehelper.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnetutils.so”,target-name=”/system/lib64/libnetutils.so”,host-name=”/system/lib64/libnetutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libui.so”,target-name=”/system/lib64/libui.so”,host-name=”/system/lib64/libui.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libgui.so”,target-name=”/system/lib64/libgui.so”,host-name=”/system/lib64/libgui.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libinput.so”,target-name=”/system/lib64/libinput.so”,host-name=”/system/lib64/libinput.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libinputflinger.so”,target-name=”/system/lib64/libinputflinger.so”,host-name=”/system/lib64/libinputflinger.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcamera_client.so”,target-name=”/system/lib64/libcamera_client.so”,host-name=”/system/lib64/libcamera_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcamera_metadata.so”,target-name=”/system/lib64/libcamera_metadata.so”,host-name=”/system/lib64/libcamera_metadata.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libskia.so”,target-name=”/system/lib64/libskia.so”,host-name=”/system/lib64/libskia.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsqlite.so”,target-name=”/system/lib64/libsqlite.so”,host-name=”/system/lib64/libsqlite.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libEGL.so”,target-name=”/system/lib64/libEGL.so”,host-name=”/system/lib64/libEGL.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libGLESv1_CM.so”,target-name=”/system/lib64/libGLESv1_CM.so”,host-name=”/system/lib64/libGLESv1_CM.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libGLESv2.so”,target-name=”/system/lib64/libGLESv2.so”,host-name=”/system/lib64/libGLESv2.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libETC1.so”,target-name=”/system/lib64/libETC1.so”,host-name=”/system/lib64/libETC1.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libhardware.so”,target-name=”/system/lib64/libhardware.so”,host-name=”/system/lib64/libhardware.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libhardware_legacy.so”,target-name=”/system/lib64/libhardware_legacy.so”,host-name=”/system/lib64/libhardware_legacy.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libselinux.so”,target-name=”/system/lib64/libselinux.so”,host-name=”/system/lib64/libselinux.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsonivox.so”,target-name=”/system/lib64/libsonivox.so”,host-name=”/system/lib64/libsonivox.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcrypto.so”,target-name=”/system/lib64/libcrypto.so”,host-name=”/system/lib64/libcrypto.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libssl.so”,target-name=”/system/lib64/libssl.so”,host-name=”/system/lib64/libssl.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libicuuc.so”,target-name=”/system/lib64/libicuuc.so”,host-name=”/system/lib64/libicuuc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libicui18n.so”,target-name=”/system/lib64/libicui18n.so”,host-name=”/system/lib64/libicui18n.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmedia.so”,target-name=”/system/lib64/libmedia.so”,host-name=”/system/lib64/libmedia.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjpeg.so”,target-name=”/system/lib64/libjpeg.so”,host-name=”/system/lib64/libjpeg.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libusbhost.so”,target-name=”/system/lib64/libusbhost.so”,host-name=”/system/lib64/libusbhost.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libharfbuzz_ng.so”,target-name=”/system/lib64/libharfbuzz_ng.so”,host-name=”/system/lib64/libharfbuzz_ng.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libz.so”,target-name=”/system/lib64/libz.so”,host-name=”/system/lib64/libz.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libaudioutils.so”,target-name=”/system/lib64/libaudioutils.so”,host-name=”/system/lib64/libaudioutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpdfium.so”,target-name=”/system/lib64/libpdfium.so”,host-name=”/system/lib64/libpdfium.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libimg_utils.so”,target-name=”/system/lib64/libimg_utils.so”,host-name=”/system/lib64/libimg_utils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnetd_client.so”,target-name=”/system/lib64/libnetd_client.so”,host-name=”/system/lib64/libnetd_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libradio.so”,target-name=”/system/lib64/libradio.so”,host-name=”/system/lib64/libradio.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsoundtrigger.so”,target-name=”/system/lib64/libsoundtrigger.so”,host-name=”/system/lib64/libsoundtrigger.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libminikin.so”,target-name=”/system/lib64/libminikin.so”,host-name=”/system/lib64/libminikin.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libprocessgroup.so”,target-name=”/system/lib64/libprocessgroup.so”,host-name=”/system/lib64/libprocessgroup.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnativebridge.so”,target-name=”/system/lib64/libnativebridge.so”,host-name=”/system/lib64/libnativebridge.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libradio_metadata.so”,target-name=”/system/lib64/libradio_metadata.so”,host-name=”/system/lib64/libradio_metadata.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libhwui.so”,target-name=”/system/lib64/libhwui.so”,host-name=”/system/lib64/libhwui.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright.so”,target-name=”/system/lib64/libstagefright.so”,host-name=”/system/lib64/libstagefright.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_foundation.so”,target-name=”/system/lib64/libstagefright_foundation.so”,host-name=”/system/lib64/libstagefright_foundation.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_http_support.so”,target-name=”/system/lib64/libstagefright_http_support.so”,host-name=”/system/lib64/libstagefright_http_support.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libeffects.so”,target-name=”/system/lib64/libeffects.so”,host-name=”/system/lib64/libeffects.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbase.so”,target-name=”/system/lib64/libbase.so”,host-name=”/system/lib64/libbase.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libunwind.so”,target-name=”/system/lib64/libunwind.so”,host-name=”/system/lib64/libunwind.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstdc++.so”,target-name=”/system/lib64/libstdc++.so”,host-name=”/system/lib64/libstdc++.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsync.so”,target-name=”/system/lib64/libsync.so”,host-name=”/system/lib64/libsync.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpng.so”,target-name=”/system/lib64/libpng.so”,host-name=”/system/lib64/libpng.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libft2.so”,target-name=”/system/lib64/libft2.so”,host-name=”/system/lib64/libft2.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqc-opt.so”,target-name=”/system/vendor/lib64/libqc-opt.so”,host-name=”/system/vendor/lib64/libqc-opt.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libGLES_trace.so”,target-name=”/system/lib64/libGLES_trace.so”,host-name=”/system/lib64/libGLES_trace.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libwpa_client.so”,target-name=”/system/lib64/libwpa_client.so”,host-name=”/system/lib64/libwpa_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpcre.so”,target-name=”/system/lib64/libpcre.so”,host-name=”/system/lib64/libpcre.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libnbaio.so”,target-name=”/system/lib64/libnbaio.so”,host-name=”/system/lib64/libnbaio.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libspeexresampler.so”,target-name=”/system/lib64/libspeexresampler.so”,host-name=”/system/lib64/libspeexresampler.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libRS.so”,target-name=”/system/lib64/libRS.so”,host-name=”/system/lib64/libRS.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libRScpp.so”,target-name=”/system/lib64/libRScpp.so”,host-name=”/system/lib64/libRScpp.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libdrmframework.so”,target-name=”/system/lib64/libdrmframework.so”,host-name=”/system/lib64/libdrmframework.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmediautils.so”,target-name=”/system/lib64/libmediautils.so”,host-name=”/system/lib64/libmediautils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libopus.so”,target-name=”/system/lib64/libopus.so”,host-name=”/system/lib64/libopus.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_omx.so”,target-name=”/system/lib64/libstagefright_omx.so”,host-name=”/system/lib64/libstagefright_omx.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_yuv.so”,target-name=”/system/lib64/libstagefright_yuv.so”,host-name=”/system/lib64/libstagefright_yuv.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libvorbisidec.so”,target-name=”/system/lib64/libvorbisidec.so”,host-name=”/system/lib64/libvorbisidec.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libpowermanager.so”,target-name=”/system/lib64/libpowermanager.so”,host-name=”/system/lib64/libpowermanager.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_enc_common.so”,target-name=”/system/lib64/libstagefright_enc_common.so”,host-name=”/system/lib64/libstagefright_enc_common.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_avc_common.so”,target-name=”/system/lib64/libstagefright_avc_common.so”,host-name=”/system/lib64/libstagefright_avc_common.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libprotobuf-cpp-lite.so”,target-name=”/system/lib64/libprotobuf-cpp-lite.so”,host-name=”/system/lib64/libprotobuf-cpp-lite.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcommon_time_client.so”,target-name=”/system/lib64/libcommon_time_client.so”,host-name=”/system/lib64/libcommon_time_client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbcc.so”,target-name=”/system/lib64/libbcc.so”,host-name=”/system/lib64/libbcc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libbcinfo.so”,target-name=”/system/lib64/libbcinfo.so”,host-name=”/system/lib64/libbcinfo.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libLLVM.so”,target-name=”/system/lib64/libLLVM.so”,host-name=”/system/lib64/libLLVM.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”[vdso]”,target-name=”[vdso]”,host-name=”[vdso]”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libcneconn.so”,target-name=”/system/vendor/lib64/libcneconn.so”,host-name=”/system/vendor/lib64/libcneconn.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libvendorconn.so”,target-name=”/system/vendor/lib64/libvendorconn.so”,host-name=”/system/vendor/lib64/libvendorconn.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libavenhancements.so”,target-name=”/system/vendor/lib64/libavenhancements.so”,host-name=”/system/vendor/lib64/libavenhancements.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_httplive.so”,target-name=”/system/lib64/libstagefright_httplive.so”,host-name=”/system/lib64/libstagefright_httplive.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmediaplayerservice.so”,target-name=”/system/lib64/libmediaplayerservice.so”,host-name=”/system/lib64/libmediaplayerservice.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_wfd.so”,target-name=”/system/lib64/libstagefright_wfd.so”,host-name=”/system/lib64/libstagefright_wfd.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcurl.so”,target-name=”/system/lib64/libcurl.so”,host-name=”/system/lib64/libcurl.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libExtendedExtractor.so”,target-name=”/system/vendor/lib64/libExtendedExtractor.so”,host-name=”/system/vendor/lib64/libExtendedExtractor.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libdashplayer.so”,target-name=”/system/lib64/libdashplayer.so”,host-name=”/system/lib64/libdashplayer.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libart.so”,target-name=”/system/lib64/libart.so”,host-name=”/system/lib64/libart.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsigchain.so”,target-name=”/system/lib64/libsigchain.so”,host-name=”/system/lib64/libsigchain.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjavacore.so”,target-name=”/system/lib64/libjavacore.so”,host-name=”/system/lib64/libjavacore.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/hw/memtrack.msm8996.so”,target-name=”/system/lib64/hw/memtrack.msm8996.so”,host-name=”/system/lib64/hw/memtrack.msm8996.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqti-at.so”,target-name=”/system/vendor/lib64/libqti-at.so”,host-name=”/system/vendor/lib64/libqti-at.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqti-gt.so”,target-name=”/system/vendor/lib64/libqti-gt.so”,host-name=”/system/vendor/lib64/libqti-gt.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libxml2.so”,target-name=”/system/lib64/libxml2.so”,host-name=”/system/lib64/libxml2.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libqti-perfd-client.so”,target-name=”/system/vendor/lib64/libqti-perfd-client.so”,host-name=”/system/vendor/lib64/libqti-perfd-client.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmedia_jni.so”,target-name=”/system/lib64/libmedia_jni.so”,host-name=”/system/lib64/libmedia_jni.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmtp.so”,target-name=”/system/lib64/libmtp.so”,host-name=”/system/lib64/libmtp.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjhead.so”,target-name=”/system/lib64/libjhead.so”,host-name=”/system/lib64/libjhead.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libexif.so”,target-name=”/system/lib64/libexif.so”,host-name=”/system/lib64/libexif.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libstagefright_amrnb_common.so”,target-name=”/system/lib64/libstagefright_amrnb_common.so”,host-name=”/system/lib64/libstagefright_amrnb_common.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libextmedia_jni.so”,target-name=”/system/lib64/libextmedia_jni.so”,host-name=”/system/lib64/libextmedia_jni.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex”,target-name=”/data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex”,host-name=”/data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjavacrypto.so”,target-name=”/system/lib64/libjavacrypto.so”,host-name=”/system/lib64/libjavacrypto.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeystore-engine.so”,target-name=”/system/lib64/libkeystore-engine.so”,host-name=”/system/lib64/libkeystore-engine.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeystore_binder.so”,target-name=”/system/lib64/libkeystore_binder.so”,host-name=”/system/lib64/libkeystore_binder.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libsoftkeymasterdevice.so”,target-name=”/system/lib64/libsoftkeymasterdevice.so”,host-name=”/system/lib64/libsoftkeymasterdevice.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeymaster_messages.so”,target-name=”/system/lib64/libkeymaster_messages.so”,host-name=”/system/lib64/libkeymaster_messages.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libkeymaster1.so”,target-name=”/system/lib64/libkeymaster1.so”,host-name=”/system/lib64/libkeymaster1.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/libEGL_adreno.so”,target-name=”/system/vendor/lib64/egl/libEGL_adreno.so”,host-name=”/system/vendor/lib64/egl/libEGL_adreno.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libadreno_utils.so”,target-name=”/system/vendor/lib64/libadreno_utils.so”,host-name=”/system/vendor/lib64/libadreno_utils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libgsl.so”,target-name=”/system/vendor/lib64/libgsl.so”,host-name=”/system/vendor/lib64/libgsl.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/libGLESv2_adreno.so”,target-name=”/system/vendor/lib64/egl/libGLESv2_adreno.so”,host-name=”/system/vendor/lib64/egl/libGLESv2_adreno.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/libllvm-glnext.so”,target-name=”/system/vendor/lib64/libllvm-glnext.so”,host-name=”/system/vendor/lib64/libllvm-glnext.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/libGLESv1_CM_adreno.so”,target-name=”/system/vendor/lib64/egl/libGLESv1_CM_adreno.so”,host-name=”/system/vendor/lib64/egl/libGLESv1_CM_adreno.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/vendor/lib64/egl/eglSubDriverAndroid.so”,target-name=”/system/vendor/lib64/egl/eglSubDriverAndroid.so”,host-name=”/system/vendor/lib64/egl/eglSubDriverAndroid.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/hw/gralloc.msm8996.so”,target-name=”/system/lib64/hw/gralloc.msm8996.so”,host-name=”/system/lib64/hw/gralloc.msm8996.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libmemalloc.so”,target-name=”/system/lib64/libmemalloc.so”,host-name=”/system/lib64/libmemalloc.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libqdMetaData.so”,target-name=”/system/lib64/libqdMetaData.so”,host-name=”/system/lib64/libqdMetaData.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libqdutils.so”,target-name=”/system/lib64/libqdutils.so”,host-name=”/system/lib64/libqdutils.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libqservice.so”,target-name=”/system/lib64/libqservice.so”,host-name=”/system/lib64/libqservice.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libandroid.so”,target-name=”/system/lib64/libandroid.so”,host-name=”/system/lib64/libandroid.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libcompiler_rt.so”,target-name=”/system/lib64/libcompiler_rt.so”,host-name=”/system/lib64/libcompiler_rt.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libjnigraphics.so”,target-name=”/system/lib64/libjnigraphics.so”,host-name=”/system/lib64/libjnigraphics.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/system/lib64/libwebviewchromium_loader.so”,target-name=”/system/lib64/libwebviewchromium_loader.so”,host-name=”/system/lib64/libwebviewchromium_loader.so”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/data/app/com.visualgdb.example.gdb_test1-2/oat/arm64/base.odex”,target-name=”/data/app/com.visualgdb.example.gdb_test1-2/oat/arm64/base.odex”,host-name=”/data/app/com.visualgdb.example.gdb_test1-2/oat/arm64/base.odex”,symbols-loaded=”0″,thread-group=”i1″
=library-loaded,id=”/data/app/com.visualgdb.example.gdb_test1-2/lib/arm64/libgdb_test1.so”,target-name=”/data/app/com.visualgdb.example.gdb_test1-2/lib/arm64/libgdb_test1.so”,host-name=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\obj\\local\\arm64-v8a\\libgdb_test1.so”,symbols-loaded=”0″,thread-group=”i1″
&”warning: Could not load shared library symbols for 131 libraries, e.g. /system/vendor/lib64/libNimsWrap.so.\nUse the \”info sharedlibrary\” command to see the complete listing.\nDo you need \”set solib-search-path\” or \”set sysroot\”?”
&”\n”
*stopped,frame={addr=”0x0000007fa5f54374″,func=”__epoll_pwait”,args=[],from=”C:\\Users\\zl121\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\9416189d\\libc.so”},thread-id=”1″,stopped-threads=”all”,core=”2″
^connected
info shared
&”info shared\n”
From To Syms Read Shared Object Library
0x0000007fa639ac80 0x0000007fa63bedb8 Yes C:\Users\zl121\AppData\Local\VisualGDB\AndroidBinaryCache\9416189d\linker64
No /system/vendor/lib64/libNimsWrap.so
No /system/lib64/libcutils.so
No /system/lib64/libutils.so
No /system/lib64/liblog.so
No /system/lib64/libbinder.so
No /system/lib64/libandroid_runtime.so
No /system/lib64/libwilhelm.so
No /system/lib64/libc++.so
0x0000007fa5f05340 0x0000007fa5f8625c Yes C:\Users\zl121\AppData\Local\VisualGDB\AndroidBinaryCache\9416189d\libc.so
No /system/lib64/libm.so
No /system/lib64/libbacktrace.so
No /system/lib64/libmemtrack.so
No /system/lib64/libandroidfw.so
No /system/lib64/libexpat.so
No /system/lib64/libnativehelper.so
No /system/lib64/libnetutils.so
No /system/lib64/libui.so
No /system/lib64/libgui.so
No /system/lib64/libinput.so
No /system/lib64/libinputflinger.so
No /system/lib64/libcamera_client.so
No /system/lib64/libcamera_metadata.so
No /system/lib64/libskia.so
No /system/lib64/libsqlite.so
No /system/lib64/libEGL.so
No /system/lib64/libGLESv1_CM.so
No /system/lib64/libGLESv2.so
No /system/lib64/libETC1.so
No /system/lib64/libhardware.so
No /system/lib64/libhardware_legacy.so
No /system/lib64/libselinux.so
No /system/lib64/libsonivox.so
No /system/lib64/libcrypto.so
No /system/lib64/libssl.so
No /system/lib64/libicuuc.so
No /system/lib64/libicui18n.so
No /system/lib64/libmedia.so
No /system/lib64/libjpeg.so
No /system/lib64/libusbhost.so
No /system/lib64/libharfbuzz_ng.so
No /system/lib64/libz.so
No /system/lib64/libaudioutils.so
No /system/lib64/libpdfium.so
No /system/lib64/libimg_utils.so
No /system/lib64/libnetd_client.so
No /system/lib64/libradio.so
No /system/lib64/libsoundtrigger.so
No /system/lib64/libminikin.so
No /system/lib64/libprocessgroup.so
No /system/lib64/libnativebridge.so
No /system/lib64/libradio_metadata.so
No /system/lib64/libhwui.so
No /system/lib64/libstagefright.so
No /system/lib64/libstagefright_foundation.so
No /system/lib64/libstagefright_http_support.so
No /system/lib64/libeffects.so
No /system/lib64/libbase.so
No /system/lib64/libunwind.so
No /system/lib64/libstdc++.so
No /system/lib64/libsync.so
No /system/lib64/libpng.so
No /system/lib64/libft2.so
No /system/vendor/lib64/libqc-opt.so
No /system/lib64/libGLES_trace.so
No /system/lib64/libwpa_client.so
No /system/lib64/libpcre.so
No /system/lib64/libnbaio.so
No /system/lib64/libspeexresampler.so
No /system/lib64/libRS.so
No /system/lib64/libRScpp.so
No /system/lib64/libdrmframework.so
No /system/lib64/libmediautils.so
No /system/lib64/libopus.so
No /system/lib64/libstagefright_omx.so
No /system/lib64/libstagefright_yuv.so
No /system/lib64/libvorbisidec.so
No /system/lib64/libpowermanager.so
No /system/lib64/libstagefright_enc_common.so
No /system/lib64/libstagefright_avc_common.so
No /system/lib64/libprotobuf-cpp-lite.so
No /system/lib64/libcommon_time_client.so
No /system/lib64/libbcc.so
No /system/lib64/libbcinfo.so
No /system/lib64/libLLVM.so
No [vdso]
No /system/vendor/lib64/libcneconn.so
No /system/vendor/lib64/libvendorconn.so
No /system/vendor/lib64/libavenhancements.so
No /system/lib64/libstagefright_httplive.so
No /system/lib64/libmediaplayerservice.so
No /system/lib64/libstagefright_wfd.so
No /system/lib64/libcurl.so
No /system/vendor/lib64/libExtendedExtractor.so
No /system/lib64/libdashplayer.so
No /system/lib64/libart.so
No /system/lib64/libsigchain.so
No /system/lib64/libjavacore.so
No /system/lib64/hw/memtrack.msm8996.so
No /system/vendor/lib64/libqti-at.so
No /system/vendor/lib64/libqti-gt.so
No /system/lib64/libxml2.so
No /system/vendor/lib64/libqti-perfd-client.so
No /system/lib64/libmedia_jni.so
No /system/lib64/libmtp.so
No /system/lib64/libjhead.so
No /system/lib64/libexif.so
No /system/lib64/libstagefright_amrnb_common.so
No /system/lib64/libextmedia_jni.so
No /data/dalvik-cache/arm64/system@framework@tcmclient.jar@classes.dex
No /system/lib64/libjavacrypto.so
No /system/lib64/libkeystore-engine.so
No /system/lib64/libkeystore_binder.so
No /system/lib64/libsoftkeymasterdevice.so
No /system/lib64/libkeymaster_messages.so
No /system/lib64/libkeymaster1.so
No /system/vendor/lib64/egl/libEGL_adreno.so
No /system/vendor/lib64/libadreno_utils.so
No /system/vendor/lib64/libgsl.so
No /system/vendor/lib64/egl/libGLESv2_adreno.so
No /system/vendor/lib64/libllvm-glnext.so
No /system/vendor/lib64/egl/libGLESv1_CM_adreno.so
No /system/vendor/lib64/egl/eglSubDriverAndroid.so
No /system/lib64/hw/gralloc.msm8996.so
No /system/lib64/libmemalloc.so
No /system/lib64/libqdMetaData.so
No /system/lib64/libqdutils.so
No /system/lib64/libqservice.so
No /system/lib64/libandroid.so
No /system/lib64/libcompiler_rt.so
No /system/lib64/libjnigraphics.so
No /system/lib64/libwebviewchromium_loader.so
No /data/app/com.visualgdb.example.gdb_test1-2/oat/arm64/base.odex
0x0000007fa14d75c0 0x0000007fa14d76b8 Yes C:\Zhong\workspace\gdb_test1\gdb_test1\obj\local\arm64-v8a\libgdb_test1.so
OK
-break-list
^done,BreakpointTable={nr_rows=”0″,nr_cols=”6″,hdr=[{width=”7″,alignment=”-1″,col_name=”number”,colhdr=”Num”},{width=”14″,alignment=”-1″,col_name=”type”,colhdr=”Type”},{width=”4″,alignment=”-1″,col_name=”disp”,colhdr=”Disp”},{width=”3″,alignment=”-1″,col_name=”enabled”,colhdr=”Enb”},{width=”10″,alignment=”-1″,col_name=”addr”,colhdr=”Address”},{width=”40″,alignment=”2″,col_name=”what”,colhdr=”What”}],body=[]}
-break-insert -f C:\Zhong\workspace\gdb_test1\gdb_test1\jni\gdb_test1.c:25
^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000007fa14d75fc”,func=”test”,file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”,line=”25″,thread-groups=[“i1″],times=”0″,original-location=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c:25″}
-break-info 1
^done,BreakpointTable={nr_rows=”1″,nr_cols=”6″,hdr=[{width=”7″,alignment=”-1″,col_name=”number”,colhdr=”Num”},{width=”14″,alignment=”-1″,col_name=”type”,colhdr=”Type”},{width=”4″,alignment=”-1″,col_name=”disp”,colhdr=”Disp”},{width=”3″,alignment=”-1″,col_name=”enabled”,colhdr=”Enb”},{width=”18″,alignment=”-1″,col_name=”addr”,colhdr=”Address”},{width=”40″,alignment=”2″,col_name=”what”,colhdr=”What”}],body=[bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000007fa14d75fc”,func=”test”,file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”,line=”25″,thread-groups=[“i1″],times=”0″,original-location=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c:25″}]}
-break-after 1 0
OK
info symbol 0x7fa14d75fc
&”info symbol 0x7fa14d75fc\n”
test in section .text of C:\Zhong\workspace\gdb_test1\gdb_test1\obj\local\arm64-v8a\libgdb_test1.so
OK
info line *0x7fa14d75fc
&”info line *0x7fa14d75fc\n”
Line 27 of “jni/gdb_test1.c” starts at address 0x7fa14d75fc <test> and ends at 0x7fa14d7600 <test+4>.
OK
-file-list-exec-source-files
^done,files=[{file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”},{file=”<built-in>”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1/<built-in>”},{file=”C:/Android/android-ndk-r10e/platforms/android-21/arch-arm64/usr/include/jni.h”,fullname=”C:\\Android\\android-ndk-r10e\\platforms\\android-21\\arch-arm64\\usr\\include\\jni.h”},{file=”c:\\android\\android-ndk-r10e\\toolchains\\aarch64-linux-android-4.9\\prebuilt\\windows\\lib\\gcc\\aarch64-linux-android\\4.9\\include/stdarg.h”,fullname=”c:\\android\\android-ndk-r10e\\toolchains\\aarch64-linux-android-4.9\\prebuilt\\windows\\lib\\gcc\\aarch64-linux-android\\4.9\\include\\stdarg.h”}]
-break-insert -f C:\Zhong\workspace\gdb_test1\gdb_test1\jni\gdb_test1.c:36
^done,bkpt={number=”2″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000007fa14d7634″,func=”Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI”,file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”,line=”36″,thread-groups=[“i1″],times=”0″,original-location=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c:36″}
-break-info 2
^done,BreakpointTable={nr_rows=”1″,nr_cols=”6″,hdr=[{width=”7″,alignment=”-1″,col_name=”number”,colhdr=”Num”},{width=”14″,alignment=”-1″,col_name=”type”,colhdr=”Type”},{width=”4″,alignment=”-1″,col_name=”disp”,colhdr=”Disp”},{width=”3″,alignment=”-1″,col_name=”enabled”,colhdr=”Enb”},{width=”18″,alignment=”-1″,col_name=”addr”,colhdr=”Address”},{width=”40″,alignment=”2″,col_name=”what”,colhdr=”What”}],body=[bkpt={number=”2″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000007fa14d7634″,func=”Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI”,file=”jni/gdb_test1.c”,fullname=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c”,line=”36″,thread-groups=[“i1″],times=”0″,original-location=”C:\\Zhong\\workspace\\gdb_test1\\gdb_test1\\jni\\gdb_test1.c:36″}]}
-break-after 2 0
OK
info symbol 0x7fa14d7634
&”info symbol 0x7fa14d7634\n”
Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI + 48 in section .text of C:\Zhong\workspace\gdb_test1\gdb_test1\obj\local\arm64-v8a\libgdb_test1.so
OK
info line *0x7fa14d7634
&”info line *0x7fa14d7634\n”
Line 36 of “jni/gdb_test1.c” starts at address 0x7fa14d7634 <Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI+48> and ends at 0x7fa14d7638 <Java_com_visualgdb_example_gdb_1test1_gdb_1test1_stringFromJNI+52>.
OK
-exec-continue
^running
*running,thread-id=”all”**************** GDB launch output ****************
Found 0 .natvis files in the current project
VisualGDB: Executing predebug actions
Launching Android project…
Using settings from a VisualGDB project settings file C:\Zhong\workspace\gdb_test1\gdb_test1\gdb_test1-Debug.vgdbsettings…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe devices
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.build.version.release
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ps
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell id
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d install -r “C:\Zhong\workspace\gdb_test1\gdb_test1\bin\gdb_test1-debug.apk”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell run-as com.visualgdb.example.gdb_test1 /system/bin/sh -c pwd
Using app directory: /data/data/com.visualgdb.example.gdb_test1
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.product.cpu.abi
Detected device EABI: arm64-v8a
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell getprop ro.build.version.sdk
Detecting linker breakpoint workaround for toolchain 23 on 9416189d…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/data/com.visualgdb.example.gdb_test1/lib
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell pm list packages -f
APK file path on device: /data/app/com.visualgdb.example.gdb_test1-2/base.apk
Normal library directory: /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64-v8a
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64-v8a
Normal library directory contains no .so files. Searching for replacements…
Checking /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64
Found .so files. Using /data/data/com.visualgdb.example.gdb_test1/lib as the new library directory
Checking Android project ABI…
Device ABI: arm64-v8a
Library directory: C:\Zhong\workspace\gdb_test1\gdb_test1\libs
Checking for C:\Zhong\workspace\gdb_test1\gdb_test1\libs\arm64-v8a\gdbserver…
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d pull “/data/app/com.visualgdb.example.gdb_test1-2/lib/arm64/libgdb_test1.so” “C:\Users\zl121\AppData\Local\Temp\tmpFE3D.tmp”
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell am start -n com.visualgdb.example.gdb_test1/.gdb_test1
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ls /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64/gdbserver
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell ps
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d shell run-as com.visualgdb.example.gdb_test1 /data/app/com.visualgdb.example.gdb_test1-2/lib/arm64/gdbserver localhost:5039 –attach 5214
VisualGDB: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 9416189d forward tcp:5039 tcp:5039
Looking up GDB…
GDB reported by ndk-build: C:/Android/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/windows/bin/aarch64-linux-android-gdb.exe
Found toolchain: C:\Android\android-ndk-r10e\toolchains\aarch64-linux-android-4.9
Found GDB: C:\Android\android-ndk-r10e\toolchains\aarch64-linux-android-4.9\prebuilt\windows\bin\aarch64-linux-android-gdb.exe
Creating pending breakpoint…Creating pending breakpoint…
VisualGDB: Executing stop actions
VisualGDB: Executing postdebug actions -
AuthorPosts
- You must be logged in to reply to this topic.