This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PING2/rfa/testsuite] compiler.exp: rewrite get_compiler_info
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: drow at mvista dot com, gdb-patches at sources dot redhat dot com
- Date: Sat, 24 Jan 2004 17:02:19 -0500 (EST)
- Subject: Re: [PING2/rfa/testsuite] compiler.exp: rewrite get_compiler_info
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.