gdbstub.exe
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).
If the Symbian command shell ESHELL is present on the target device, the stub can be launched using the syntax given in the following section. The command line flags are primarily used to configure the way that the GDB stub communicates with the host. If ESHELL is not present on the target device the GDB stub may be initialised using a configuration file.
gdbstub [-fPddName] | [-lLddName] | [-cCommsModule] | [-pPortNumber] | [-bRate] | [-h] | [-i | -z]
For example, for a serial connection on device port 2 with a connection rate of 9600 baud, the command line syntax file is:
gdbstub -fEUART%d -lECOMM -cECUART -p2 -b9600
For an IR connection through port 2 at the same rate simply replace the -c flag line as shown below:
gdbstub -fEUART%d -lECOMM -cIRCOMM -p2 -b9600
|