Problems with dejagnu and c++ tests...

Michael Elizabeth Chastain mec.gnu@mindspring.com
Wed Feb 4 12:50:00 GMT 2004


Joel Brobecker reports

  <<
  Running ./gdb.cp/ambiguous.exp ...
  ERROR: (DejaGnu) proc "default_target_compile: Can't find g++." does not exist.
  The error code is NONE
  The info on the error is:
  close: invalid spawn id (6)
      while executing
  "close -i 6"
      invoked from within
  "catch "close -i $spawn_id""
  >>

Rats, this is my clever code in get_compiler_info blowing up.

ambiguous.exp calls get_compiler_info.  get_compiler_info calls
gdb_compile, captures the output, and eval's the output.

That explains the weird message about "proc" not found.

What was the previous behavior when you did not have a C++ compiler?

Michael C



More information about the Gdb-patches mailing list