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

2.9.  Testing GDB

Running the GDB test suite requires that the DejaGNU package is installed. The tests can then be run with:

	  make check
	

On completion of the run, the summary results will be in the gdb/testsuite directory in gdb.sum with the detailed log in gdb.log

For the most comprehensive tests in an environment where host and target differ, DejaGNU needs some additional configuration. This can be achieved by setting the DEJAGNU environment variable to refer to a suitable configuration file, and defining a custom board configuration file in the directory ~/boards. These configuration files can be used to specify a suitable simulator and how to connect it when running tests.

Embecosm divider strip