This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]