From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] gdbserver overhaul Date: Sun, 14 Oct 2001 18:44:00 -0000 Message-id: <20011014214419.A7881@nevyn.them.org> References: <20011011161453.A15989@nevyn.them.org> <3BCA382D.30809@cygnus.com> X-SW-Source: 2001-10/msg00214.html 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