Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



GDB configuration file syntax gdbstub.ini


Purpose

The GDB stub is an on-target executable which uses debugging hooks provided by the Symbian platform to provide the debugging API expected by the GNU debugger (GDB).

The GDB stub can be initialised using a configuration file. The file is primarily used to configure the way that the GDB stub communicates with the host. The configuration file must be located in c:\gdbstub\gdbstub.ini.

[Top]


Configuration file syntax

An example configuraton file is given below. It configures the stub to support a serial connection on device port 2 with a connection rate of 9600 baud.

[COMMSERV]
PDD=EUART%d
LDD=ECOMM
CSY=ECUART
PORT=2
RATE=9600

For an IR connection through port 2 at the same rate simply replace the CSY line as shown below:

CSY=IRCOMM


Arguments

PDD=PddName

Sets the physical device driver PddName to be loaded.

A %d can be included in the name and is automatically substituted with the port number (as specified in the PORT=PortNumber line).

LDD=LddName

Sets the logical device driver LddName to load.

CSY=CommsModule

Sets the comms module (CSY) to load.

This is ECUART for the serial cable connection, or IRCOMM for the IR port.

PORTPortNumber

Sets the port number.

RATE=Rate

Sets the port speed, in baud.