[v2,4/9] Fix typos in documentation of Guile `execute' function

Message ID 1397731588-23750-5-git-send-email-wingo@igalia.com
State New, archived
Headers

Commit Message

Andy Wingo April 17, 2014, 10:46 a.m. UTC
  gdb/doc/ChangeLog:
	* guile.texi (Basic Guile): Fix some typos.
---
 gdb/doc/ChangeLog  | 4 ++++
 gdb/doc/guile.texi | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
  

Comments

Doug Evans April 26, 2014, 11:45 p.m. UTC | #1
Andy Wingo <wingo@igalia.com> writes:

> gdb/doc/ChangeLog:
> 	* guile.texi (Basic Guile): Fix some typos.

LGTM
  
Doug Evans May 27, 2014, 7:35 a.m. UTC | #2
Doug Evans <xdje42@gmail.com> writes:

> Andy Wingo <wingo@igalia.com> writes:
>
>> gdb/doc/ChangeLog:
>> 	* guile.texi (Basic Guile): Fix some typos.
>
> LGTM

Committed.
  

Patch

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 87f4e06..4e07246 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@ 
 2014-04-17  Andy Wingo  <wingo@igalia.com>
 
+	* guile.texi (Basic Guile): Fix some typos.
+
+2014-04-17  Andy Wingo  <wingo@igalia.com>
+
 	* guile.texi (Writing a Guile Pretty-Printer)
 	(Guile Types Module): Fix excess parentheses in use-modules
 	forms.
diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi
index 7d4d098..3f6580e 100644
--- a/gdb/doc/guile.texi
+++ b/gdb/doc/guile.texi
@@ -238,7 +238,7 @@  int
 The @code{(gdb)} module provides these basic Guile functions.
 
 @c TODO: line length 
-@deffn {Scheme Procedure} execute command @r{[}#:from-tty boolean@r{]}@r{[}#:to-string boolean@r{]}
+@deffn {Scheme Procedure} execute command @r{[}#:from-tty boolean@r{]} @r{[}#:to-string boolean@r{]}
 Evaluate @var{command}, a string, as a @value{GDBN} CLI command.
 If a @value{GDBN} exception happens while @var{command} runs, it is
 translated as described in
@@ -251,7 +251,7 @@  It must be a boolean value.  If omitted, it defaults to @code{#f}.
 By default, any output produced by @var{command} is sent to
 @value{GDBN}'s standard output (and to the log output if logging is
 turned on).  If the @var{to-string} parameter is
-@code{#t}, then output will be collected by @code{gdb.execute} and
+@code{#t}, then output will be collected by @code{execute} and
 returned as a string.  The default is @code{#f}, in which case the
 return value is unspecified.  If @var{to-string} is @code{#t}, the
 @value{GDBN} virtual terminal will be temporarily set to unlimited width