176
edits
| Line 95: | Line 95: | ||
=DEBUG AND PROFILE= | =DEBUG AND PROFILE= | ||
Now that your N810 is all set, you're ready to debug and profile just about any program built for ARMEL target. We're going to use our fennec example hereafter. | |||
* Build fennec with debug symbols | |||
Now go back to your desktop and log onto scratchbox CHINOOK-ARMEL-2007 target. Build fennec by following instructions at [[obile/Build/Fennec]]. | |||
You may choose to build fennec for DEBUG or PERF, but be sure to add the following line to your mozconfig in order to get the debug symbols in the resultant libs : | |||
ac_add_options --enable-debugger-info-modules | |||
* Package fennec | |||
At this point, you may tar and copy fennec objdir/mobile/dist/bin folder to your device for testing, but this folder might still contain some symlinks, so it's better to package fennec before sending it over to the N810. So, from the 'objdir/mobile' folder, type : | |||
make package PKG_SKIP_STRIP=1 | |||
::<i>The 'PKG_SKIP_STRIP=1' flag is important as it tells make NOT to strip debugging symbols off packaged libs!<i/> | |||
edits