Re: Problems with dejagnu and c++ tests...

Michael Elizabeth Chastain
2004-02-04T12:50:07Z

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