Setting Up GDB for Symbian OS Devices
This section explains how to set up remote debugging for GDB over infrared. Although it would be easier to achieve this over a serial cable, unfortunately most Symbian OS devices on the market cannot physically support a serial connection. Setting up GDB for Symbian OS devices requires some manipulation of the file system on the device. Most device manufacturers do not supply tools that allow end users to see or modify the file system. However there are many file managers available for the...
Introduction to GDB
GDB is GNU's debugger it facilitates debugging on a target device. The GNU debugger offers a range of features that parallel those debugging features found in most contemporary development environments. One relative drawback is that unless using a development environment that supports and integrates with GDB the debug session is run from a command prompt thereby limiting the normal view of the code context available in IDE debugging. However, it does always supply the file name for example,...
Debugging on Target Using GDB
Where possible, debugging on the emulator should be preferred however, behavioral discrepancies between the emulator and target machine may sometimes necessitate on-target investigation. One recommended option is to place logging in the code to record the events taking place during execution. Examining the log file can often point to where the problem lies. To help with logging, Symbian OS provides an RFileLogger class specifically aimed at producing log files. The SDK's documentation covers...