[patch/rfc/testsuite] Add "compiler_info"

Andrew Cagney ac131313@redhat.com
Fri Nov 14 22:50:00 GMT 2003


Hello,

This adds a new global (compiler_info) and procedure 
(test_compiler_info) to GDB's test framework.

For GNUC, the variable is set to:

	gnuc-<major>-<minor>
eg
	gnuc-3-3

while for other compilers it is set to "unknown".  test_compiler_info 
can be used (like test_debug_format) for a specific compiler vis:

	[test_compiler_info gnuc-3-*]

for a version 3 GNU C compiler.

MichaelC? (fernando's on hols)

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031114/0789e800/attachment.ksh>


More information about the Gdb-patches mailing list