android_gdbserver - fix warning about missing shared library symbols
The warning was: warning: Could not load shared library symbols for 4 libraries, e.g. /system/bin/linker. Use the "info sharedlibrary" command to see the complete listing. Fixed by grabbing all of those libraries along with libc.so. NOTRY=true R=scroggo@google.com, djsollen@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/255193003 git-svn-id: http://skia.googlecode.com/svn/trunk@14441 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
66ec1e4c61
commit
19a21894ea
@ -22,7 +22,26 @@ GDB_TMP_DIR=$(pwd)/android_gdb_tmp
|
||||
mkdir $GDB_TMP_DIR
|
||||
|
||||
echo "Copying symbol files"
|
||||
adb_pull_if_needed /system/lib/libc.so $GDB_TMP_DIR
|
||||
SYSTEM_LIBRARY_PATH=/system/lib
|
||||
for library_file in \
|
||||
libc.so \
|
||||
libstdc++.so \
|
||||
libm.so \
|
||||
liblog.so \
|
||||
libz.so \
|
||||
libcutils.so \
|
||||
libgccdemangle.so \
|
||||
libcorkscrew.so \
|
||||
libutils.so \
|
||||
libstlport.so \
|
||||
libGLES_trace.so \
|
||||
libEGL.so \
|
||||
libGLESv2.so \
|
||||
; do
|
||||
adb_pull_if_needed "${SYSTEM_LIBRARY_PATH}/${library_file}" $GDB_TMP_DIR
|
||||
done
|
||||
|
||||
adb_pull_if_needed /system/bin/linker $GDB_TMP_DIR
|
||||
|
||||
echo "Pushing app..."
|
||||
for file in \
|
||||
|
Loading…
Reference in New Issue
Block a user