This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: some gdbserver changes for NetBSD/powerpc
- To: jtc at redback dot com
- Subject: Re: [PATCH]: some gdbserver changes for NetBSD/powerpc
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 21 Nov 2000 11:45:09 +1100
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <5mzoiutbe9.fsf@jtc.redback.com>
"J.T. Conklin" wrote:
>
> I have committed the enclosed patch. It fixes support for FP registers
> on older NetBSD/powerpc systems as has already been done in GDB proper.
> It also makes some attempt to adapt to the multi-arching of the powerpc
> target. This is incomplete, so gdbserver doesn't really work on this
> target yet.
>
> Does anyone have an example of a multi-arched gdbserver? For gnu/linux
> ppc perhaps?
I don't know that trying to multi-arch gdbserver is useful. The gdb
server is normally built to run on a specific host so supporting other
hosts is kind of wierd. The only situtation where I can see it being
useful is for a platform that provides multiple kernel interfaces
(NetBSD has Linux compat mode; Solaris SPARC 32/64) and there I'm not
sure of the tradeoffs. Simply building two gdbserver binaries would be
easier.
Andrew