diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 14:35:26 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 14:35:26 +0000 |
commit | 23d964e7b6625bec3822bcb9613f65362b9b3026 (patch) | |
tree | c9c8d4a9f98b11ad39dc14dddc8f41374747fc33 /gdb/doc | |
parent | 374c1d382bcb2271b3a39ee369717f255ca0777a (diff) | |
download | gdb-23d964e7b6625bec3822bcb9613f65362b9b3026.zip gdb-23d964e7b6625bec3822bcb9613f65362b9b3026.tar.gz gdb-23d964e7b6625bec3822bcb9613f65362b9b3026.tar.bz2 |
* target.h (enum target_object): Add TARGET_OBJECT_SPU.
* spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.
* spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
(enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
* spu-tdep.c (infospucmdlist): New variable.
(spu_register_name): Handle additional pseudo registers.
(spu_register_type): Likewise.
(spu_pseudo_register_read): Likewise.
(spu_pseudo_register_write): Likewise.
(spu_pseudo_register_read_spu): New function.
(spu_pseudo_register_write_spu): Likewise.
(info_spu_event_command): New function.
(info_spu_signal_command): Likewise.
(info_spu_mailbox_list): Likewise.
(info_spu_mailbox_command): Likewise.
(spu_mfc_get_bitfield): Likewise.
(info_spu_dma_cmdlist): Likewise.
(info_spu_dma_command): Likewise.
(info_spu_proxydma_command): Likewise.
(info_spu_command): Likewise.
(_initialize_spu_tdep): Install "info spu" commands.
testsuite/ChangeLog:
* gdb.arch/spu-info.exp: New testcase.
* gdb.arch/spu-info.c: New file.
doc/ChangeLog:
* gdb.texinfo (Architectures): Add new SPU section to document
Cell Broadband Engine SPU architecture specific commands.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 38 |
2 files changed, 44 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 38c3b85..7a73f3b 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> + Markus Deuling <deuling@de.ibm.com> + + * gdb.texinfo (Architectures): Add new SPU section to document + Cell Broadband Engine SPU architecture specific commands. + 2007-06-09 Vladimir Prus <vladimir@codesourcery.com> * gdb.texinfo (GDB/MI Variable Objects): Editorial diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 7c04b2b..0641386 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -15100,6 +15100,7 @@ all uses of @value{GDBN} with the architecture, both native and cross. * Alpha:: * MIPS:: * HPPA:: HP PA architecture +* SPU:: Cell Broadband Engine SPU architecture @end menu @node i386 @@ -15280,6 +15281,43 @@ given @var{address}. @end table +@node SPU +@subsection Cell Broadband Engine SPU architecture +@cindex Cell Broadband Engine +@cindex SPU + +When @value{GDBN} is debugging the Cell Broadband Engine SPU architecture, +it provides the following special commands: + +@table @code +@item info spu event +@kindex info spu +Display SPU event facility status. Shows current event mask +and pending event status. + +@item info spu signal +Display SPU signal notification facility status. Shows pending +signal-control word and signal notification mode of both signal +notification channels. + +@item info spu mailbox +Display SPU mailbox facility status. Shows all pending entries, +in order of processing, in each of the SPU Write Outbound, +SPU Write Outbound Interrupt, and SPU Read Inbound mailboxes. + +@item info spu dma +Display MFC DMA status. Shows all pending commands in the MFC +DMA queue. For each entry, opcode, tag, class IDs, effective +and local store addresses and transfer size are shown. + +@item info spu proxydma +Display MFC Proxy-DMA status. Shows all pending commands in the MFC +Proxy-DMA queue. For each entry, opcode, tag, class IDs, effective +and local store addresses and transfer size are shown. + +@end table + + @node Controlling GDB @chapter Controlling @value{GDBN} |