diff mbox

Fix syntax of file:function location

Message ID m3bnkcjqp4.fsf@sspiff.org
State New
Headers show

Commit Message

Doug Evans March 1, 2015, 10:30 p.m. UTC
Hi.

I happened to notice this while reviewing the explicit linespecs patch.

2015-03-01  Doug Evans  <xdje42@gmail.com>

	* gdb.texinfo (Specify Location): Fix syntax of filename:function.

Comments

Eli Zaretskii March 2, 2015, 3:33 a.m. UTC | #1
> From: Doug Evans <xdje42@gmail.com>
> Date: Sun, 01 Mar 2015 14:30:47 -0800
> 
> 2015-03-01  Doug Evans  <xdje42@gmail.com>
> 
> 	* gdb.texinfo (Specify Location): Fix syntax of filename:function.
> 
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index e84a251..2f7ae2f 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -7611,7 +7611,7 @@ of a valid expression).  In Pascal and Modula-2, this is
>  This form specifies the address of the function's first instruction,
>  before the stack frame and arguments have been set up.
>  
> -@item '@var{filename}'::@var{funcaddr}
> +@item '@var{filename}':@var{funcaddr}
>  Like @var{funcaddr} above, but also specifies the name of the source
>  file explicitly.  This is useful if the name of the function does not
>  specify the function unambiguously, e.g., if there are several

If this fixes a factual mistake, it's an "obvious patch".  Thanks.
diff mbox

Patch

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e84a251..2f7ae2f 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -7611,7 +7611,7 @@  of a valid expression).  In Pascal and Modula-2, this is
 This form specifies the address of the function's first instruction,
 before the stack frame and arguments have been set up.
 
-@item '@var{filename}'::@var{funcaddr}
+@item '@var{filename}':@var{funcaddr}
 Like @var{funcaddr} above, but also specifies the name of the source
 file explicitly.  This is useful if the name of the function does not
 specify the function unambiguously, e.g., if there are several