• David 'Digit' Turner's avatar
    ndk-gdb: Fix debugging of private services · 9c10d882
    David 'Digit' Turner authored
    This patch fixes ndk-gdb so it can properly debug an application
    that has private services. These will appear in the 'ps' output
    as <package-name>:<service-name>, and the way the extract-pid.awk
    script worked, were matched against <package-name> incorrectly.
    
    + Make extrac-pid.awk usable when custom ROM use a Busybox 'ps'
      instead of the standard Android toolbox version
    
    + Add unit test for extract-pid.awk
    
    Change-Id: Ifb38d5bdfd5b648ff468cb3642db3bb64297707d
    9c10d882
ndk-gdb 20.6 KB