Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: matinata@br.ibm.com
Cc: Ulrich Weigand <uweigand@de.ibm.com>,
		Daniel Jacobowitz <drow@false.org>,
	gdb-patches@sourceware.org, 	eliz@gnu.org
Subject: Re: [rfc/rfa] [4/4] SPU enhancements: GDB/MI extensions
Date: Thu, 21 Jun 2007 22:22:00 -0000	[thread overview]
Message-ID: <18042.64059.198984.998512@kahikatea.snap.net.nz> (raw)
In-Reply-To: <1182392605.4974.58.camel@rmm-tp>

 > So, roughly, a spu-info-dma would be transformed in to something like
 > this:
 >
 > -arch-info dma
 > ^done
 > (gdb) 

I'm out of my depth but isn't all this really target information, i.e., I
could be on an i386 debugging spu remotely?

It's for you to decide if you want to display the information as for variable
objects or not but presumably there might be other architectures that
want provide similar output, e.g, "info mytarget dma".  So I think a further
command is needed:

(gdb)
-target-name
^done,value="spu"
(gdb)
-target-info-list
^done,infos=[name="event",name="signal","name=mailbox",name="dma",name="proxydma"]

 > -arch-info-list-children dma
 > ^done,numchild="6",children=[child={name="dma.type",exp="type",
 > numchild="0",type="int"},child={name="dma.mask",exp="mask",
 > numchild="0",type="int"},child={name="dma.status",exp="status",
 > numchild="0",type="int"},child={name="dma.stall_and_notify",
 >...


-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2007-06-21 22:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02 19:34 Ulrich Weigand
2007-06-02 20:38 ` Eli Zaretskii
2007-06-03 13:29   ` Ulrich Weigand
2007-06-03 16:45     ` Eli Zaretskii
2007-06-04 20:00 ` Daniel Jacobowitz
2007-06-04 20:13   ` Ulrich Weigand
2007-06-04 20:22     ` Daniel Jacobowitz
2007-06-04 22:59       ` Ulrich Weigand
2007-06-05 11:12         ` Daniel Jacobowitz
2007-06-14 20:05           ` Ulrich Weigand
2007-06-21  2:23             ` Ricardo Marin Matinata
2007-06-21 22:22               ` Nick Roberts [this message]
2007-06-22 20:53               ` Jim Blandy
2007-06-20  0:28 Nick Roberts

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=18042.64059.198984.998512@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=matinata@br.ibm.com \
    --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