Documentation/Maemo 5 Developer Guide/Kernel and Debugging Guide/Introduction: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>tapio
No edit summary
imported>tapio
mNo edit summary
Line 4: Line 4:
The following code examples are used in this chapter:
The following code examples are used in this chapter:


* [https://garage.maemo.org/svn/maemoexamples/trunk/gdb_example/ gdb_example]
* [https://vcs.maemo.org/svn/maemoexamples/tags/maemo_5.0/gdb_example/ gdb_example]
* [https://garage.maemo.org/svn/maemoexamples/trunk/maemopad MaemoPad]
* [https://vcs.maemo.org/svn/maemoexamples/tags/maemo_5.0/maemopad MaemoPad]
* [https://garage.maemo.org/svn/maemoexamples/trunk/valgrind_example valgrind_example]
* [https://vcs.maemo.org/svn/maemoexamples/tags/maemo_5.0/valgrind_example valgrind_example]
* [https://garage.maemo.org/svn/maemoexamples/trunk/hello-world-app hello-world-app]
* [https://vcs.maemo.org/svn/maemoexamples/tags/maemo_5.0/hello-world-app hello-world-app]
* [https://garage.maemo.org/svn/maemoexamples/trunk/hello-module/ hello-module]
* [https://vcs.maemo.org/svn/maemoexamples/tags/maemo_5.0/hello-module/ hello-module]


This chapter documents two different topics: debugging Maemo applications and building the Maemo kernel.  
This chapter documents two different topics: debugging Maemo applications and building the Maemo kernel.  

Revision as of 14:35, 11 February 2010

Introduction

The following code examples are used in this chapter:

This chapter documents two different topics: debugging Maemo applications and building the Maemo kernel.

Debugging tools are useful for finding and fixing errors in programs, such as segfaults or memory leaks. Mainly gdb and valgrind are discussed. Some further tools can be found at Documentation/devtools/maemo5.

Compiling the kernel is not as difficult as it might sound. This section gives step-by-step instructions on configuring, compiling, and installing a custom Maemo kernel. It also gives an example on building a self-made kernel module.