This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc/testsuite] Add "compiler_info"
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: ac131313 at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Fri, 14 Nov 2003 23:50:38 -0500 (EST)
- Subject: Re: [patch/rfc/testsuite] Add "compiler_info"
I like the copyright notices!
The idea looks sound to me, but I'm a bit too tired to proofread
and test it tonight.
We've already got several places in the test suite
(gdb.base/complex.exp and gdb.base/constvars.exp) that test gcc_compiled
for "2" versus "3" and that machinery is causing no trouble.
Michael C
===
2003-11-14 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (compiler_info): New global.
(test_compiler_info): New function.
(get_compiler_info): Set compiler_info.
* lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
"compiler_info".