Documentation/Maemo 5 Developer Guide/Kernel and Debugging Guide/Introduction

From Maemo Wiki
Jump to navigationJump to search

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.