Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [commit] Doc: -var-delete
@ 2006-12-04  3:57 Nick Roberts
  2006-12-04  4:10 ` Eli Zaretskii
  2006-12-04  9:16 ` [commit] Doc: -var-delete Vladimir Prus
  0 siblings, 2 replies; 9+ messages in thread
From: Nick Roberts @ 2006-12-04  3:57 UTC (permalink / raw)
  To: gdb-patches


Committed as obvious.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


2006-12-04  Nick Roberts  <nickrob@snap.net.nz>

	* gdb.texinfo (GDB/MI Variable Objects): Describe -c option
	of -var-delete.


*** gdb.texinfo	23 Nov 2006 09:27:02 +1300	1.371
--- gdb.texinfo	04 Dec 2006 16:45:48 +1300	
***************
*** 19598,19604 ****
  @item @code{-var-create}
  @tab create a variable object
  @item @code{-var-delete}
! @tab delete the variable object and its children
  @item @code{-var-set-format}
  @tab set the display format of this variable
  @item @code{-var-show-format}
--- 19598,19604 ----
  @item @code{-var-create}
  @tab create a variable object
  @item @code{-var-delete}
! @tab delete the variable object and/or its children
  @item @code{-var-set-format}
  @tab set the display format of this variable
  @item @code{-var-show-format}
***************
*** 19681,19690 ****
  @subsubheading Synopsis
  
  @smallexample
!  -var-delete @var{name}
  @end smallexample
  
  Deletes a previously created variable object and all of its children.
  
  Returns an error if the object @var{name} is not found.
  
--- 19681,19691 ----
  @subsubheading Synopsis
  
  @smallexample
!  -var-delete [ -c ] @var{name}
  @end smallexample
  
  Deletes a previously created variable object and all of its children.
+ With the @samp{-c} option, just deletes the children.
  
  Returns an error if the object @var{name} is not found.
  


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [commit] Doc: -var-delete
@ 2006-12-04 10:29 Nick Roberts
  0 siblings, 0 replies; 9+ messages in thread
From: Nick Roberts @ 2006-12-04 10:29 UTC (permalink / raw)
  To: gdb-patches; +Cc: Vladimir Prus


> > @smallexample
> > ! Â-var-delete [ -c ] @var{name}
> > @end smallexample
> > 
> > Deletes a previously created variable object and all of its children.
> > + With the @samp{-c} option, just deletes the children.

> Should this be "deletes just the children"? Or "deletes only the children"?
> The way it's written now "just" binds to "deletes", so one wonders if
> there's "just delete" behaviour and "not just delete" behaviour and what
> the latter might be.

If it were a legal contract, I think you may have found a loophole.  For
general reading though, I think the second sentence is unambiguous in the
context of the first.  However I don't mind if someone wants to change it.

-- 
Nick http://www.inet.net.nz/~nickrob


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-12-08 17:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-04  3:57 [commit] Doc: -var-delete Nick Roberts
2006-12-04  4:10 ` Eli Zaretskii
2006-12-04  4:45   ` Nick Roberts
2006-12-04 19:45     ` Eli Zaretskii
2006-12-04 20:57       ` Nick Roberts
2006-12-08 17:29         ` Eli Zaretskii
2006-12-08 17:32         ` [commit] Clarify obvious fix in the docs (was: Doc: -var-delete) Eli Zaretskii
2006-12-04  9:16 ` [commit] Doc: -var-delete Vladimir Prus
2006-12-04 10:29 Nick Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox