Please report any other irregularities here.
I'd like to set things up so that one can do something like adb forward tcp:12345 tcp:12345 adb shell am start -a org.mozilla.gecko.DEBUG -n org.mozilla.fennec/org.mozilla.fennec.App --gdbserver localhost:12345 fennec would look for gdbserver in known locations, say /data/local/gdbserver and /data/gdbserver for starters. If it's found, (something) would fork and daemonize the gdbserver process, attaching it to fennec's PID and binding it to the specified address. If all that succeeds, then fennec would bypass showing the "Launch app" button and start fennec. If not, the button would be shown.
On my galaxy s with 2.1, I see E/Gecko ( 4891): 0 == prctl(HAS_PTRACE) --- NO PTRACE!!! :( which means that both breakpad and non-root gdb are DOA.
FTR on my desktop, with an equivalent check, I get 1 == prctl(HAS_PTRACE) --- yay! :)
Brad reports on an N1 with 2.2 I/Gecko ( 592); 1 == prctl(HAS_PTRACE) --- we have ptrace! :) so it's either something turned back on in 2.2 or device specific.
(Brad's device is rooted, and mine is in theory but doesn't appear to be in practice.)
This can't work on 2.1 so I don't care anymore.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.