public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix gdb.flush documentation
@ 2022-08-30 17:54 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-08-30 17:54 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dd083c6524f1e90dae19ed895b3f5eaf6228de68
commit dd083c6524f1e90dae19ed895b3f5eaf6228de68
Author: Tom Tromey <tromey@adacore.com>
Date: Mon Aug 15 12:44:53 2022 -0600
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.
Diff:
---
gdb/doc/python.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 9a823409854..7aa9e853d85 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-30 17:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 17:54 [binutils-gdb] Fix gdb.flush documentation Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).