[patch] Allow altivec-{abi,regs}.c to be compiled by IBM's xlc compiler

Daniel Jacobowitz drow@false.org
Tue Mar 29 20:42:00 GMT 2005


On Wed, Mar 09, 2005 at 12:51:58PM -0800, Paul Gilliam wrote:
> 2005-03-09  Paul Gilliam  <pgilliam@us.ibm.com>
> 
>         * gdb.arch/altivec-abi.exp: Check for compiler and set 'use altivec' flag accordingly.
>         * gdb.arch/altivec-regs.exp: Likewise.

> ! set compile_flags {debug additional_flags=-w}
> ! if [get_compiler_info $binfile] {
> !     warning get_compiler failed
> !     return -1;
> ! }

Warning takes a string.  TCL doesn't use semicolons.

> !     warning unknown compiler

Ditto.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb-patches mailing list