This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix syntax of file:function location
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Sun, 01 Mar 2015 14:30:47 -0800
- Subject: [PATCH] Fix syntax of file:function location
- Authentication-results: sourceware.org; auth=none
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.
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