Editing Documentation/devtools/maemo5/maemo-debug-scripts

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 13: Line 13:
* Install a few helper scripts:
* Install a few helper scripts:
-
::''native-gdb''
+
** ''native-gdb''
::runs the target native Gdb (by default Scratchbox runs the host binary if it exists, this script overrides that)
::runs the target native Gdb (by default Scratchbox runs the host binary if it exists, this script overrides that)
-
::''debug-dep-install''
+
** ''debug-dep-install''
::installs debug symbols for given binaries and their dependencies listed by "ldd"
::installs debug symbols for given binaries and their dependencies listed by "ldd"
-
::''debug-pkg-check''
+
** ''debug-pkg-check''
::checks the correctness of a debug package for a given package
::checks the correctness of a debug package for a given package
-
::''list-mmapped-libs''
+
** ''list-mmapped-libs''
::lists all packages containing libs and binaries that given process uses. It can be used to find out the libraries mmap()ed through dlopen that "ldd" (used by debug-deb-install script) doesn't find
::lists all packages containing libs and binaries that given process uses. It can be used to find out the libraries mmap()ed through dlopen that "ldd" (used by debug-deb-install script) doesn't find
-
::''run-with-valgrind''
+
** ''run-with-valgrind''
::helper script for running a binary with Valgrind memcheck plugin (memory access errors, leaks etc) so that all suitable options are set for it
::helper script for running a binary with Valgrind memcheck plugin (memory access errors, leaks etc) so that all suitable options are set for it
-
::''run-with-callgrind''
+
** ''run-with-callgrind''
::helper script for running a binary with Valgrind callgrind plugin (performance profiling) so that all suitable options are set for it
::helper script for running a binary with Valgrind callgrind plugin (performance profiling) so that all suitable options are set for it
-
::''run-with-massif''
+
** ''run-with-massif''
::helper script for running a binary with Valgrind massif plugin (memory usage visualization) so that all suitable options are set for it
::helper script for running a binary with Valgrind massif plugin (memory usage visualization) so that all suitable options are set for it
-
::''run-with-helgrind''
+
** ''run-with-helgrind''
::helper script for running a binary with Valgrind helgrind plugin (race condition detector for threaded programs) so that all suitable options are set
::helper script for running a binary with Valgrind helgrind plugin (race condition detector for threaded programs) so that all suitable options are set
-
::''run-with-strace''
+
** ''run-with-strace''
::helper script for running a binary with strace. Like above helper scripts, handles maemo-launched binaries automatically
::helper script for running a binary with strace. Like above helper scripts, handles maemo-launched binaries automatically

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: