aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-08 13:40:50 -0600
committerTom Tromey <tom@tromey.com>2018-09-10 07:44:27 -0600
commit0d2a583976a87221d11c2639ede8f764e0c26059 (patch)
tree66006734a8a9d2c66b1070e04de1ee8f90d0459d
parent05c6bdc1a935243d19eb9dc3799321c96b660d68 (diff)
downloadgdb-0d2a583976a87221d11c2639ede8f764e0c26059.zip
gdb-0d2a583976a87221d11c2639ede8f764e0c26059.tar.gz
gdb-0d2a583976a87221d11c2639ede8f764e0c26059.tar.bz2
Small typo fix in Basic Python node
I noticed that the decode_line documentation did not have parens around the argument: -- Function: gdb.decode_line [expression] This patch fixes this oversight. gdb/doc/ChangeLog 2018-09-10 Tom Tromey <tom@tromey.com> * python.texi (Basic Python): Parenthesize argument to decode_line.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/python.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index c83b5f5..642bc54 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,10 @@
2018-09-10 Tom Tromey <tom@tromey.com>
+ * python.texi (Basic Python): Parenthesize argument to
+ decode_line.
+
+2018-09-10 Tom Tromey <tom@tromey.com>
+
* python.texi (Python): Mention Python versions. Don't mention
execfile.
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index eb4c3a5..6eccc2b 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -448,7 +448,7 @@ as a string, or @code{None}.
@end defun
@findex gdb.decode_line
-@defun gdb.decode_line @r{[}expression@r{]}
+@defun gdb.decode_line (@r{[}expression@r{]})
Return locations of the line specified by @var{expression}, or of the
current line if no argument was given. This function returns a Python
tuple containing two elements. The first element contains a string