Changes

Jump to: navigation, search

Mobile/Fennec/Android/GDB

185 bytes added, 02:41, 26 March 2013
m
feninit.default.objdir
* Alternatively, if your object directories are called 'obj*' under your source directory, you can set feninit.default.objdir to the source directory itself. The script will scan the source directory and list all the object directories that it found.
* Note that there have been problems in the past with using ~ and $HOME in the setting, so use absolute path for best results.
* PRO-TIP: Put the following code block inside gdbinit.local to always use the current directory as the object directory,
python
import os
feninit.default.objdir = os.getcwd()
end
 
==== feninit.default.srcroot ====
* Unlike the previous setting, feninit.default.srcroot specifies the directory containing all the source directories. This is convenient if you have 'src/mozilla-central', 'src/mozilla-inbound', 'src/mozilla-aurora', etc. In that case, you can set feninit.default.srcroot to 'src' and all the source directories will be scanned for object directories.
Confirm
507
edits

Navigation menu