This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit, gdbserver] Fix gdbserver on SPU
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Date: Fri, 3 Apr 2009 15:47:58 +0100
- Subject: Re: [commit, gdbserver] Fix gdbserver on SPU
- References: <200904031440.n33Eeh93024037@d12av02.megacenter.de.ibm.com>
On Friday 03 April 2009 15:40:43, Ulrich Weigand wrote:
> Hello,
>
> this patch fixes gdbserver for the SPU target, which was quite broken
> since the recent multi-process merge. Many of the spu-low.c routines
> were not fully adapted to common code changes, so it didn't even
> compile ...
Argh, very sorry about it. Hmm, I was just noticing... Does this file
have any dependency on SPU specific headers? For the next time, can one
build this file with a regular ppc gcc?
> In addition, I've run into a bug in prepare_resume_reply:
> it wouldn't null-terminate the T packet on targets without thread
> support, causing GDB to receive garbage.
Thanks!
--
Pedro Alves