aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-06-03 11:57:49 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-04 10:56:51 -0700
commit54be48689b90488cb570f3393ef53e1b9e3d4e6a (patch)
tree1639218ed51a98c773372cb4d7e86e8dd8d53f3a /ndk-gdb
parentf2f883c9f5d1057b585f2490ffb12800d166e9f4 (diff)
downloadndk-54be48689b90488cb570f3393ef53e1b9e3d4e6a.tar.gz
ndk-gdb: fix to work properly with OS X's BSD awk
"gensub()" is a GNUAwk-ism that should not be used. Change-Id: I2df89efc165c84034594b98327921f9461188a76
Diffstat (limited to 'ndk-gdb')
-rwxr-xr-xndk-gdb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ndk-gdb b/ndk-gdb
index 627129026..3cd7be4ae 100755
--- a/ndk-gdb
+++ b/ndk-gdb
@@ -340,6 +340,7 @@ if [ $? != 0 -o -z "$API_LEVEL" ] ; then
echo "ndk-gdb will only work if your device is running Android 2.2 or higher."
exit 1
fi
+log "Device API Level: $API_LEVEL"
if [ "$API_LEVEL" -lt "8" ] ; then
echo "ERROR: ndk-gdb requires a target device running Android 2.2 (API level 8) or higher."
echo "The target device is running API level $API_LEVEL !"