diff options
| author | Po Lu | 2023-02-25 21:52:11 +0800 |
|---|---|---|
| committer | Po Lu | 2023-02-25 21:52:11 +0800 |
| commit | 8fa86cc7cd708fae8657b4e977711132999054bc (patch) | |
| tree | 5b4b5984bb8ed5914fb7e34aba124e01852b7e56 /java/debug.sh | |
| parent | 80f26cc3988bf06e876ee9ed4b05a4400bf626b7 (diff) | |
| download | emacs-8fa86cc7cd708fae8657b4e977711132999054bc.tar.gz emacs-8fa86cc7cd708fae8657b4e977711132999054bc.zip | |
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.
Diffstat (limited to 'java/debug.sh')
| -rwxr-xr-x | java/debug.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/debug.sh b/java/debug.sh index f07bb98ed7d..83690e0b536 100755 --- a/java/debug.sh +++ b/java/debug.sh | |||
| @@ -281,7 +281,7 @@ else | |||
| 281 | # Upload the specified gdbserver binary to the device. | 281 | # Upload the specified gdbserver binary to the device. |
| 282 | adb -s $device push "$gdbserver" "$gdbserver_bin" | 282 | adb -s $device push "$gdbserver" "$gdbserver_bin" |
| 283 | 283 | ||
| 284 | if adb -s $device shell ls /system/bin/tee; then | 284 | if (adb -s $device shell ls /system/bin | grep -G tee); then |
| 285 | # Copy it to the user directory. | 285 | # Copy it to the user directory. |
| 286 | adb -s $device shell "$gdbserver_cat" | 286 | adb -s $device shell "$gdbserver_cat" |
| 287 | adb -s $device shell "run-as $package chmod +x gdbserver" | 287 | adb -s $device shell "run-as $package chmod +x gdbserver" |