Re: [PING2/rfa/testsuite] compiler.exp: rewrite get_compiler_info

Michael Elizabeth Chastain
2004-01-24T22:02:44Z

Committed.

> I'm still not thrilled about the messing with log_file but
> we can sort it out another day.

Point.

If it causes a problem, one fallback position is to remove the two lines
that mess with the log. Then we would just get extra output in gdb.log,
which is ugly, but quite livable.

Michael C

> 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
>
> * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
> * lib/compiler.cc: Likewise.
> * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
> get the right preprocessor. Eval the output directly. Remove
> special tests for hp_cc_compiler and hp_aCC_compiler. Remove
> hp_f77_compiler and hp_f90_compiler completely.
> (gdb_preprocess): Delete.
> (get_compiler): Delete.