From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19801 invoked by alias); 22 Jul 2009 18:18:10 -0000 Received: (qmail 19787 invoked by uid 22791); 22 Jul 2009 18:18:09 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Jul 2009 18:18:02 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KN700E0041UC000@i_mtaout2.012.net.il> for gdb-patches@sourceware.org; Wed, 22 Jul 2009 21:18:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.240.193]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KN7005OK45ZVQB0@i_mtaout2.012.net.il>; Wed, 22 Jul 2009 21:18:00 +0300 (IDT) Date: Wed, 22 Jul 2009 19:05:00 -0000 From: Eli Zaretskii Subject: Re: [rfc] [7/9] Cell multi-arch: Add "set spu stop-on-load" command In-reply-to: <200907221717.n6MHHCgk014568@d12av02.megacenter.de.ibm.com> To: Ulrich Weigand Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83skgo4m5k.fsf@gnu.org> References: <200907221717.n6MHHCgk014568@d12av02.megacenter.de.ibm.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00563.txt.bz2 > Date: Wed, 22 Jul 2009 19:17:12 +0200 (CEST) > From: "Ulrich Weigand" > > 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.