[PATCH 3/9] testsuite: Add option to capture GDB debug

Tom Tromey tom@tromey.com
Thu May 16 19:16:00 GMT 2019


>>>>> "Alan" == Alan Hayward <Alan.Hayward@arm.com> writes:

Alan> Add both board option and environment variable which enables gdb
Alan> debug via a comma separated list and sends it to the file gdb.debug,
Alan> located in the output directory for the current test.  Document this.

Alan> Add support for the environment variable in the Makefile.

Alan> The testsuite can be run with gdb debug enabled in the following way:

Alan> 	make check GDB_DEBUG="infrun,target,remote"

Alan> A Test with multiple invocations of GDB will all append debug to the
Alan> same log file.

Thank you, this looks good to me.

Tom



More information about the Gdb-patches mailing list