Bering-uClibc 4.x - Developer Guide - Debugging Tools and Techniques

From bering-uClibc
Revision as of 18:35, 23 February 2011 by Davidmbrooke (Talk | contribs) (Created)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Debugging Tools and Techniques
Prev Bering-uClibc 4.x - Developer Guide

Introduction

Debugging on an embedded system like a machine running LEAF is generally more difficult than on a fully-fledged Linux distribution, since system resources like RAM and disk space are at a premium and some of the standard debugging tools are not available.

This Chapter provides guidelines on what tools are available and what alternative approaches can be used.

Package devtools.lrp

There is a specific Package aimed at Bering-uClibc 4.x developers: devtools.lrp. This Package implements the following utilities to assist with software development and debugging:

/bin/ldd 
Print shared library dependencies
/bin/objdump 
Display information from object files
/usr/sbin/strace 
Trace system calls and signals
/usr/sbin/strace-graph 
Draw a process tree based on strace output



Prev Up