This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/testsuite/c++] migrate gcc_compiled to test_compiler_info
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: cagney at gnu dot org, mec dot gnu at mindspring dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Nov 2003 14:24:52 -0500 (EST)
- Subject: Re: [patch/testsuite/c++] migrate gcc_compiled to test_compiler_info
ac> yea! draging around variables is a pain.
You could even do
proc test_compiler_info { compiler } {
global compiler_info
if { compiler_info == "uninitialized" } then {
get_compiler_info
}
if { compiler_info == "unknown" } then {
perror "I cannot figure out your compiler"
}
return ...;
}
But I'm not ready to put this on my TODO list today.
Michael C