[patch/testsuite/c++] migrate gcc_compiled to test_compiler_info

Michael Elizabeth Chastain mec.gnu@mindspring.com
Sun Nov 23 19:24:00 GMT 2003


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



More information about the Gdb-patches mailing list