Fix test-ptrace argument parsing.
Fix test-ptrace argument parsing.

Avoids an endless loop when passing unknown options.

Signed-off-by: Zachary T Welch <ed31003884a63125fcccb7c6499cbee2f4d64832@codesourcery.com>
Signed-off-by: Ken Werner <ae36958ca69fd249ce813d415cd5831a3fb45335@linaro.org>

joyent/libunwind,android-ia/platform_external_libunwind,SyndicateRogue/libunwind,krytarowski/libunwind,yuyichao/libunwind,cloudius-systems/libunwind,ehsan/libunwind,atanasyan/libunwind,rntz/libunwind,CyanogenMod/android_external_libunwind,mpercy/libunwind,djwatson/libunwind,wdv4758h/libunwind,dropbox/libunwind,androidarmv6/android_external_libunwind,cms-externals/libunwind,vtjnash/libunwind,pathscale/libunwind,rogwfu/libunwind,SyndicateRogue/libunwind,project-zerus/libunwind,tony/libunwind,adsharma/libunwind,tony/libunwind,wdv4758h/libunwind,ehsan/libunwind,0xlab/0xdroid-external_libunwind,zliu2014/libunwind-tilegx,bo-on-software/libunwind,geekboxzone/mmallow_external_libunwind,tony/libunwind,martyone/libunwind,olibc/libunwind,dreal-deps/libunwind,Chilledheart/libunwind,zeldin/platform_external_libunwind,fillexen/libunwind,olibc/libunwind,mpercy/libunwind,unkadoug/libunwind,igprof/libunwind,geekboxzone/lollipop_external_libunwind,maltek/platform_external_libunwind,libunwind/libunwind,Chilledheart/libunwind,project-zerus/libunwind,atanasyan/libunwind,tronical/libunwind,zeldin/platform_external_libunwind,bo-on-software/libunwind,rogwfu/libunwind,dropbox/libunwind,adsharma/libunwind,yuyichao/libunwind,Keno/libunwind,zeldin/platform_external_libunwind,rantala/libunwind,tkelman/libunwind,djwatson/libunwind,dagar/libunwind,krytarowski/libunwind,wdv4758h/libunwind,dagar/libunwind,vegard/libunwind,CyanogenMod/android_external_libunwind,joyent/libunwind,lat/libunwind,Keno/libunwind,igprof/libunwind,jrmuizel/libunwind,rntz/libunwind,DroidSim/platform_external_libunwind,project-zerus/libunwind,vegard/libunwind,geekboxzone/mmallow_external_libunwind,androidarmv6/android_external_libunwind,pathscale/libunwind,fdoray/libunwind,frida/libunwind,tkelman/libunwind,atanasyan/libunwind-android,libunwind/libunwind,dagar/libunwind,atanasyan/libunwind-android,0xlab/0xdroid-external_libunwind,unkadoug/libunwind,cms-externals/libunwind,fdoray/libunwind,fdoray/libunwind,maltek/platform_external_libunwind,adsharma/libunwind,dropbox/libunwind,vtjnash/libunwind,djwatson/libunwind,atanasyan/libunwind,DroidSim/platform_external_libunwind,0xlab/0xdroid-external_libunwind,android-ia/platform_external_libunwind,dreal-deps/libunwind,rantala/libunwind,cloudius-systems/libunwind,rntz/libunwind,martyone/libunwind,geekboxzone/mmallow_external_libunwind,fillexen/libunwind,CyanogenMod/android_external_libunwind,lat/libunwind,evaautomation/libunwind,maltek/platform_external_libunwind,evaautomation/libunwind,bo-on-software/libunwind,atanasyan/libunwind-android,joyent/libunwind,olibc/libunwind,zliu2014/libunwind-tilegx,fillexen/libunwind,martyone/libunwind,ehsan/libunwind,evaautomation/libunwind,cloudius-systems/libunwind,pathscale/libunwind,Keno/libunwind,vtjnash/libunwind,zliu2014/libunwind-tilegx,yuyichao/libunwind,androidarmv6/android_external_libunwind,cms-externals/libunwind,Chilledheart/libunwind,tronical/libunwind,lat/libunwind,igprof/libunwind,jrmuizel/libunwind,SyndicateRogue/libunwind,tkelman/libunwind,rogwfu/libunwind,geekboxzone/lollipop_external_libunwind,vegard/libunwind,geekboxzone/lollipop_external_libunwind,unkadoug/libunwind,dreal-deps/libunwind,frida/libunwind,krytarowski/libunwind,jrmuizel/libunwind,tronical/libunwind,mpercy/libunwind,libunwind/libunwind,rantala/libunwind,frida/libunwind,DroidSim/platform_external_libunwind,android-ia/platform_external_libunwind