Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

1.3.1.  Written Documentation

The main user guide for GDB [3] explains how remote debugging works and provides the reference for the various RSP packets.

The main GDB code base is generally well commented, particularly in the headers for the major interfaces. Inevitably this must be the definitive place to find out exactly how a particular function behaves. In particular the source code for the RSP client side in gdb/remote.c provides the definitive guide on the expected dynamics of the protocol.

The files making up the RSP server for the OpenRISC 1000 are comprehensively commented, and can be processed with Doxygen [5]. Each function's behavior, its parameters and any return value is described.

This application note complements the Embecosm Application Note 3, "HOWTO: Porting the GNU Debugger" [2]. Details of the OpenRISC 1000 can be found in its Architecture Manual [6]. The OpenRISC 1000 architectural simulator and tool chain is documented in Embecosm Application Note 2 [1].

Embecosm divider strip