Closed Bug 821093 Opened 13 years ago Closed 12 years ago

run-gdb.sh should be able to attach by appname

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 906816

People

(Reporter: dhylands, Unassigned)

Details

It would be nice to be able to say: ./run-gdb.sh attach Calculator rather than having to do: adb shell b2g-ps to figure out the PID and then use: ./run-gdb.sh attach PID
profile.sh already has a bunch of functions that are probably worth factoring out into a common file called something like pid-utils.sh (which should probably go into the scripts dir). run-gdb.sh and profile.sh could both source scripts/pid-utils.sh
Dave, do we still want to do this?
Flags: needinfo?(dhylands)
I'd definitely like to have this feature.
Flags: needinfo?(dhylands)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.