Re: [rfc/rfa] [4/4] SPU enhancements: GDB/MI extensions

Ulrich Weigand
2007-06-03T13:29:38Z

Eli Zaretskii wrote:

> A cross-reference to the section you added about SPU would be useful
> here. Similarly for other MI commands that are SPU-specific.

Like in the following version?

> Btw, I think the addition of SPU support and the change in the qXfer
> packet are worth entries in NEWS.

OK, I'll add a NEWS entry.

Thanks for your review!

Bye,
Ulrich

diff -urNp gdb-orig/gdb/doc/gdb.texinfo gdb-head/gdb/doc/gdb.texinfo
--- gdb-orig/gdb/doc/gdb.texinfo 2007-05-31 18:54:31.000000000 +0200
+++ gdb-head/gdb/doc/gdb.texinfo 2007-06-03 15:13:36.877339110 +0200
@@ -21155,6 +21155,90 @@ fullname="/home/nickrob/myprog.c",line="
(gdb)
@end smallexample

+@subheading The @code{-spu-info-event} Command
+@findex -spu-info-event
+
+@subheading Synopsis
+
+@smallexample
+-spu-info-event
+@end smallexample
+
+Display SPU event facility status. This command is available only
+when @value{GDBN} is debugging the Cell Broadband Engine SPU architecture
+(@pxref{SPU}).
+
+@subheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{info spu event}.
+
+@subheading The @code{-spu-info-signal} Command
+@findex -spu-info-signal
+
+@subheading Synopsis
+
+@smallexample
+-spu-info-signal
+@end smallexample
+
+Display SPU signal notification facility status. This command is available
+only when @value{GDBN} is debugging the Cell Broadband Engine SPU architecture
+(@pxref{SPU}).
+
+@subheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{info spu signal}.
+
+@subheading The @code{-spu-info-mailbox} Command
+@findex -spu-info-mailbox
+
+@subheading Synopsis
+
+@smallexample
+-spu-info-mailbox
+@end smallexample
+
+Display SPU mailbox facility status. This command is available only when
+@value{GDBN} is debugging the Cell Broadband Engine SPU architecture
+(@pxref{SPU}).
+
+@subheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{info spu mailbox}.
+
+@subheading The @code{-spu-info-dma} Command
+@findex -spu-info-dma
+
+@subheading Synopsis
+
+@smallexample
+-spu-info-dma
+@end smallexample
+
+Display MFC DMA status. This command is available only when @value{GDBN}
+is debugging the Cell Broadband Engine SPU architecture (@pxref{SPU}).
+
+@subheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{info spu dma}.
+
+@subheading The @code{-spu-info-proxydma} Command
+@findex -spu-info-proxydma
+
+@subheading Synopsis
+
+@smallexample
+-spu-info-proxydma
+@end smallexample
+
+Display MFC Proxy-DMA status. This command is available only when
+@value{GDBN} is debugging the Cell Broadband Engine SPU architecture
+(@pxref{SPU}).
+
+@subheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{info spu proxydma}.
+
@node Annotations
@chapter @value{GDBN} Annotations

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com