From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16628 invoked by alias); 29 Jan 2010 21:05:34 -0000 Received: (qmail 16619 invoked by uid 22791); 29 Jan 2010 21:05:34 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Jan 2010 21:05:29 +0000 Received: (qmail 17540 invoked from network); 29 Jan 2010 21:05:27 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 29 Jan 2010 21:05:27 -0000 Date: Fri, 29 Jan 2010 21:05:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [RFA/doc] Redefine the length argument in remote Z packets Message-ID: <20100129210525.GD4757@caradoc.them.org> References: <20100128222940.GE2813@caradoc.them.org> <831vh9thfo.fsf@gnu.org> <20100129153021.GA30542@caradoc.them.org> <83bpgcskcc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83bpgcskcc.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-01/txt/msg00653.txt.bz2 On Fri, Jan 29, 2010 at 10:54:27PM +0200, Eli Zaretskii wrote: > > -@item z2,@var{addr},@var{length} > > -@itemx Z2,@var{addr},@var{length} > > +@item z2,@var{addr},@var{kind} > > +@itemx Z2,@var{addr},@var{kind} > > @cindex @samp{z2} packet > > @cindex @samp{Z2} packet > > -Insert (@samp{Z2}) or remove (@samp{z2}) a write watchpoint. > > +Insert (@samp{Z2}) or remove (@samp{z2}) a write watchpoint covering > > +@var{kind} bytes at @var{addr}. > > "covering KIND bytes" sounds awkward. How about > > Insert (@samp{Z2}) or remove (@samp{z2}) a write watchpoint. > @var{kind} is 2 for watching a 2-byte region, 4 for watching a > 4-byte region. > > and similarly with Z3 and Z4? Except it really can be any number of bytes now. "@var{kind} is interpreted as the number of bytes to watch"? > you want "see @ref" instead of "@xref", because the latter produces a > capitalized "See", which will look wrong after a semi-colon. Thanks! -- Daniel Jacobowitz CodeSourcery