This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [7/9] Cell multi-arch: Add "set spu stop-on-load" command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 Jul 2009 21:17:59 +0300
- Subject: Re: [rfc] [7/9] Cell multi-arch: Add "set spu stop-on-load" command
- References: <200907221717.n6MHHCgk014568@d12av02.megacenter.de.ibm.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 22 Jul 2009 19:17:12 +0200 (CEST)
> From: "Ulrich Weigand" <uweigand@de.ibm.com>
>
> Index: src/gdb/doc/gdb.texinfo
> ===================================================================
> --- src.orig/gdb/doc/gdb.texinfo
> +++ src/gdb/doc/gdb.texinfo
> @@ -17490,6 +17490,23 @@ and local store addresses and transfer s
>
> @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
> Index: src/gdb/NEWS
> ===================================================================
> --- src.orig/gdb/NEWS
> +++ src/gdb/NEWS
> @@ -254,6 +254,10 @@ kill inferior NUM
>
> * New options
>
> +set spu stop-on-load
> +show spu stop-on-load
> + Control whether to stop for new SPE threads during Cell/B.E. debugging.
> +
> set sh calling-convention
> show sh calling-convention
> Control the calling convention used when calling SH target functions.
These parts are OK.
Thanks.