Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Mark Kettenis" <mark.kettenis@xs4all.nl>
To: "Ulrich Weigand" <uweigand@de.ibm.com>
Cc: "Mark Kettenis" <mark.kettenis@xs4all.nl>,
	        "Daniel Jacobowitz" <drow@false.org>,
	gdb-patches@sourceware.org
Subject: Re: [RFA][3/5] New port: Cell BE SPU (the port itself)
Date: Sat, 18 Nov 2006 17:35:00 -0000	[thread overview]
Message-ID: <23022.82.92.89.47.1163871270.squirrel@webmail.xs4all.nl> (raw)
In-Reply-To: <200611180009.kAI09xif013603@d12av02.megacenter.de.ibm.com>

>  I've tried but failed to make that work.  The problem is that both
>  ppc-linux-nat.c and spu-linux-nat.c are based on inf-ptrace.c, and
>  it is currently impossible to register two targets resulting from
>  inf_ptrace_create at the same time, due to the ptrace_ops_hack.

Duh.  Well, I guess we need to fix that then.

>  Appended below is the code I'm currently using.  It requires building
>  a native powerpc64 target with --enable-targets=spu (which is necessary
>  anyway to get spu BFD support, and now also triggers inclusion of
>  both spu-linux-nat.c on the host side and spu-tdep.c on the target
>  side).

Does this work as well as your previous diff?  I like this much better
and as far as I am concerned this can go in if you fix one minor nit:

>  gdb-head/gdb/config/powerpc/ppc64-linux-cell.mh
>  --- gdb-orig/gdb/config/powerpc/ppc64-linux-cell.mh	1970-01-01
>  01:00:00.000000000 +0100
>  +++ gdb-head/gdb/config/powerpc/ppc64-linux-cell.mh	2006-11-16
>  04:25:21.000000000 +0100
>  @@ -0,0 +1,18 @@
>  +# Host: Cell BE (PowerPC64 + SPU), running Linux
>  +
>  +XM_CLIBS=

Please get rid of this XM_CLIBS setting.  The same for linux-cell.mh.



  parent reply	other threads:[~2006-11-18 17:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-11 18:39 Ulrich Weigand
2006-11-11 21:19 ` Mark Kettenis
2006-11-12 15:38   ` Ulrich Weigand
2006-11-12 21:42     ` Mark Kettenis
2006-11-12 22:12       ` Daniel Jacobowitz
2006-11-13 12:27         ` Ulrich Weigand
2006-11-13 12:43           ` Mark Kettenis
2006-11-13 13:48             ` Daniel Jacobowitz
2006-11-13 19:50             ` Jim Blandy
2006-11-18  0:10             ` Ulrich Weigand
2006-11-18  6:03               ` Daniel Jacobowitz
2006-11-18 11:10                 ` Ulrich Weigand
2006-11-18 16:41                   ` Daniel Jacobowitz
2006-11-18 17:35               ` Mark Kettenis [this message]
2006-11-21 20:22                 ` Ulrich Weigand
2006-11-21 20:40                   ` Daniel Jacobowitz
2006-11-21 21:32                   ` Mark Kettenis
2006-11-22 14:13                     ` Ulrich Weigand
2006-11-22 18:43                       ` Daniel Jacobowitz
2006-11-22 19:46                         ` Ulrich Weigand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23022.82.92.89.47.1163871270.squirrel@webmail.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox