aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-15 12:44:53 -0600
committerTom Tromey <tromey@adacore.com>2022-08-30 11:49:48 -0600
commitdd083c6524f1e90dae19ed895b3f5eaf6228de68 (patch)
tree7a074b2eeeeb88c492a3fd2295dc5879689dbdc4 /gdb/doc
parent37833b966576c5d25e797ea3b6c33d0459a71892 (diff)
downloadgdb-dd083c6524f1e90dae19ed895b3f5eaf6228de68.zip
gdb-dd083c6524f1e90dae19ed895b3f5eaf6228de68.tar.gz
gdb-dd083c6524f1e90dae19ed895b3f5eaf6228de68.tar.bz2
Fix gdb.flush documentation
The gdb.flush documentation does not mention the 'stream' argument in the function signature, only in the description. This patch fixes the oversight.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/python.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 9a82340..7aa9e85 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -511,7 +511,7 @@ relevant stream.
@end defun
@findex gdb.flush
-@defun gdb.flush ()
+@defun gdb.flush (@r{[}, stream@r{]})
Flush the buffer of a @value{GDBN} paginated stream so that the
contents are displayed immediately. @value{GDBN} will flush the
contents of a stream automatically when it encounters a newline in the