diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-07-02 16:38:19 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-07-02 16:38:19 -0700 |
commit | 07a6a66c1fd347e24bd057f89191e0e8842a3b18 (patch) | |
tree | 115d80f023e95ae5cc77b9df04baeb488a774dee /ndk-gdb | |
parent | 60224fd69ebdc515ab9e88d22f4c33f70949e94f (diff) | |
download | ndk-07a6a66c1fd347e24bd057f89191e0e8842a3b18.tar.gz |
Fix ndk-gdb to also pull /system/bin/link
ndk-gdb should also pull /system/bin/link, so gdb on host can set
a breakpoint in __dl_rtld_db_dlactivity and be aware of linker
activity (eg. rescan solib symbols when dlopen() is called)
Change-Id: Ie98d026a92177a076650665d7c26ac88781621a2
Diffstat (limited to 'ndk-gdb')
-rwxr-xr-x | ndk-gdb | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -678,6 +678,9 @@ APP_PROCESS=$APP_OUT/app_process run adb_cmd pull /system/bin/app_process `native_path $APP_PROCESS` log "Pulled app_process from device/emulator." +run adb_cmd pull /system/bin/linker `native_path $APP_OUT/linker` +log "Pulled linker from device/emulator." + run adb_cmd pull /system/lib/libc.so `native_path $APP_OUT/libc.so` log "Pulled libc.so from device/emulator." |