Mobile/Fennec/Android/GDB: Difference between revisions

Line 211: Line 211:
* The JimDB Python scripts lack several scripts included in regular GDB packages. To fix that, simply copy your local copy of these scripts to the JimDB utils/python directory. For example, on a typical Linux system, run
* The JimDB Python scripts lack several scripts included in regular GDB packages. To fix that, simply copy your local copy of these scripts to the JimDB utils/python directory. For example, on a typical Linux system, run
  cp -r /usr/share/gdb/python/gdb $jimdb/utils/python/
  cp -r /usr/share/gdb/python/gdb $jimdb/utils/python/
=== Random segmentation faults when debugging Fennec ===
* GDB can catch segmentation faults generated by on-demand decompression; just use "continue" to continue execution.
* Alternatively, specify the "MOZ_LINKER_ONDEMAND=0" environment variable when launching Fennec using Option 2. You can also put the option inside jimdb/utils/gdbinit.local.


=== GDB crashed and Fennec is stuck. Halp!! ===
=== GDB crashed and Fennec is stuck. Halp!! ===
Confirmed users
507

edits