This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] gdbserver support for e500 / altivec


Dan Jacobowitz wrote:

> 	* configure.srv: Use alternate register sets for powerpc64-*-linux*
> 	with AltiVec, powerpc-*-linux* with AltiVec, and powerpc-*-linux*
> 	with SPE.

This uses a configure-time check whether __ALTIVEC__ is defined.  However,
GCC for PowerPC by default does not define __ALTIVEC__, it does so only
when using the -maltivec flag.  In any case, this is rather independent of
whether the target system supports AltiVec or not ...

Why does this need to be a configure check in the first place?  Wouldn't
it be much preferable if you could build a single gdbserver binary that
would report the properties of the system it happens to be running on?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]