It's my first port doing cross-build, so expect rough edges.
- @bapt to check whether hacks around Mk/* are justified.
- @marino to check gnatdroid toolchain is used correctly.
- @kevlo to test runtime.
fb-adb builds for native, android-armv7 (+pie) and android-x86 (+pie). The latter two are stubs for native client to communicate with remote target(s). Currently, native means freebsd-x86 and dragonfly-x86 as both linuxulator and ADA bootstrap aren't available on other architectures.
fb-adb is a tool for interacting with Android systems. It does much of
what adb does, but with better remote shell support and, hopefully,
fewer bugs. Differences between adb and fb-adb are that fb-adb:
- is binary clean (no LF -> CRLF mangling)
- transmits and updates window size
- distinguishes standard output and standard error
- properly muxes streams with independent flow control
- allows for ssh-like pty allocation control
- propagates program exit status instead of always exiting with status 0
- properly escapes program arguments
- kills remote program
- provides a generic facility to elevate to root without re-escaping