This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] [7/9] Cell multi-arch: Add "set spu stop-on-load" command


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]