This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] gdbserver overhaul
On Sun, Oct 14, 2001 at 09:13:17PM -0400, Andrew Cagney wrote:
> >I've added preprocessor gunk to make this compile on other non-Linux
> >gdbserver targets, since I only had the Linux ones available to test on. I
> >tested on Linux/{ARM,i386,mips,ppc,sh}; the SH bits require some patches
> >available from the SH community but not yet in mainstream GDB, but I'm
> >including the gdbserver parts anyway. I'm fairly sure that ia64 and m68k
> >will continue to work if they did beforehand. Note that the "compile" at
> >the
> >beginning of this paragraph is really "compile iff it already did". I
> >tried
> >to find a non-Linux target to test; I tried mips64vr5000-unknown-elf
> >(low-sim.c) and sparc-sun-solaris2.8 (low-solaris.c). Neither built.
>
> I'm confused. What exacactly did you try here - what was the configure
> and CC?
More accurately, neither built gdbserver.
I didn't set CC to anything special. Because mips64vr5000-unknown-elf
is a simulator target, the cross-debugger build includes gdbserver. It
didn't link, because MIPS has been multi-arched, and gdb_arch stuff is
scattered all over the headers. For solaris, I got lots of
prototype-related errors trying to build in the gdbserver directory; I
don't remember offhand what they were.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer