diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/python.texi | 2 |
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 |