mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
Update Android port
* java/debug.sh (is_root): Fix tee detection again for old systems which don't return exit codes from adb shell. * src/android.c (android_run_select_thread, NATIVE_NAME, JNICALL): * src/android.h (NATIVE_NAME): * src/androidterm.c (JNICALL, NATIVE_NAME): Apply stack alignment to all JNICALL functions.
This commit is contained in:
parent
80f26cc398
commit
8fa86cc7cd
4 changed files with 129 additions and 18 deletions
|
|
@ -281,7 +281,7 @@ else
|
|||
# Upload the specified gdbserver binary to the device.
|
||||
adb -s $device push "$gdbserver" "$gdbserver_bin"
|
||||
|
||||
if adb -s $device shell ls /system/bin/tee; then
|
||||
if (adb -s $device shell ls /system/bin | grep -G tee); then
|
||||
# Copy it to the user directory.
|
||||
adb -s $device shell "$gdbserver_cat"
|
||||
adb -s $device shell "run-as $package chmod +x gdbserver"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue