Mobile/Fennec/Android/GDB: Difference between revisions

no edit summary
No edit summary
Line 227: Line 227:
* GDBServer may still be attached to Fennec but is unable to communicate with GDB; try killing GDBServer
* GDBServer may still be attached to Fennec but is unable to communicate with GDB; try killing GDBServer
  adb shell run-as org.mozilla.fennec_$USER kill `adb shell ps | grep gdb | awk '{print $2}'`
  adb shell run-as org.mozilla.fennec_$USER kill `adb shell ps | grep gdb | awk '{print $2}'`
=== "make: `[path]/mochitest-remote' is up to date." while trying to run Mochitests ===
* Delete the mochitest-remote file.
=== "failed to run gdbserver" ===
    "gdbserver" output:
    /system/bin/sh: /data/local/tmp/gdbserver: not executable: magic 7F45
    "run-as" output:
    /data/local/tmp/gdbserver[1]: syntax error: '(' unexpected
    "su -c" output:
    /system/bin/sh: su: not found
    [path]/jimdb-x86/bin/../utils/gdbinit:136: Error in sourced command file:
    failed to run gdbserver
You are probably trying to run the x86 version on an ARM device. Download the ARM version of JimDB instead.


=== JimDB sucks! Halp!! ===
=== JimDB sucks! Halp!! ===
Confirmed users
120

edits