This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/in] Add (broken) hppa-elf target
On Sun, Aug 18, 2002 at 08:03:02PM +0200, Mark Kettenis wrote:
> Date: Sun, 18 Aug 2002 13:27:56 -0400
> From: Andrew Cagney <ac131313@ges.redhat.com>
>
> PS: To give you a headache :-) Even though a native i386-ibm-aix won't
> build, there is a good chance that an i386-ibm-aix host will build an
> i386-ibm-aix cross debugger. This is correct behavour because a cross
> debugger should be buildable on any host :-)
>
> Yup. Except that --target=i386-ibm-aix won't give you exactly a
> i386-ibm-aix cross-debuger. It will give you the same generic i386
> cross-debuger as --target=i386-elf or --target=i386-whatever-junk.
> Suppose i386-ibm-aix had a rather peculiar ABI that's really
> incompatible with the generic i386 ABI. The resulting GDB would not
> be very useful. Shouldn't we somehow warn against this?
FWIW, GCC's configury explicitly lists and warns about obsoleted
targets. I think this would be a good idea for GDB also.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer