diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-31 15:33:50 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-31 15:33:50 +0000 |
commit | 3285f3fe1a0173795d6f977232aa1e29284fef1c (patch) | |
tree | 1efb50e7f227b2c32f35ae28c5c8e5596cccc127 /gdb/doc | |
parent | cc5f0d615034abd00afe97bfaac585e433924685 (diff) | |
download | gdb-3285f3fe1a0173795d6f977232aa1e29284fef1c.zip gdb-3285f3fe1a0173795d6f977232aa1e29284fef1c.tar.gz gdb-3285f3fe1a0173795d6f977232aa1e29284fef1c.tar.bz2 |
ChangeLog:
* spu-tdep.c: Include "block.h".
(setspucmdlist, showspucmdlist): New static variables.
(spu_stop_on_load_p): Likewise.
(spu_catch_start): New function.
(show_spu_command, set_spu_command): New functions.
(show_spu_stop_on_load): Likewise.
(_initialize_spu_tdep): Attach spu_catch_start to new_objfile observer.
Install "set spu" / "show spu" prefix command handler.
Install "set spu stop-on-load" / "show spu stop-on-load" command.
* NEWS: Mention "set/show spu stop-on-load" commands.
doc/ChangeLog:
* gdb.texinfo (Cell Broadband Engine SPU architecture): Document the
"set spu stop-on-load" and "show spu stop-on-load" commands.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 7afbca0..360bbe0 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2009-07-31 Ulrich Weigand <uweigand@de.ibm.com> + * gdb.texinfo (Cell Broadband Engine SPU architecture): Document the + "set spu stop-on-load" and "show spu stop-on-load" commands. + +2009-07-31 Ulrich Weigand <uweigand@de.ibm.com> + * gdb.texinfo (Target Descriptions): Document <compatible> element. 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 586f459..c06c6be 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -17490,6 +17490,23 @@ and local store addresses and transfer size are shown. @end table +When @value{GDBN} is debugging a combined PowerPC/SPU application +on the Cell Broadband Engine, it provides in addition the following +special commands: + +@table @code +@item set spu stop-on-load @var{arg} +@kindex set spu +Set whether to stop for new SPE threads. When set to @code{on}, @value{GDBN} +will give control to the user when a new SPE thread enters its @code{main} +function. The default is @code{off}. + +@item show spu stop-on-load +@kindex show spu +Show whether to stop for new SPE threads. + +@end table + @node PowerPC @subsection PowerPC @cindex PowerPC architecture |