aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-01-21 12:49:48 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-01-21 12:49:48 +0000
commitb13d7831eb90d6dfdf4a3f63b6522bbf300d38f0 (patch)
tree614cef01525f08347dd8505b08fa2c5f9fe5999c /gdb
parentec7194506d9cc9af2a57530f146fa175a8836399 (diff)
downloadgdb-b13d7831eb90d6dfdf4a3f63b6522bbf300d38f0.zip
gdb-b13d7831eb90d6dfdf4a3f63b6522bbf300d38f0.tar.gz
gdb-b13d7831eb90d6dfdf4a3f63b6522bbf300d38f0.tar.bz2
gdb/doc: fill in two missing @r
I noticed two places in the docs where we appear to be missing @r. makeinfo seems to do the correct things despite these being missing (at least, I couldn't see any difference in the pdf or info output), but it doesn't hurt to have the @r in place.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/python.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 38fce5b..6730de0 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -444,7 +444,7 @@ this. For example:
@end defun
@findex gdb.write
-@defun gdb.write (string @r{[}, stream{]})
+@defun gdb.write (string @r{[}, stream@r{]})
Print a string to @value{GDBN}'s paginated output stream. The
optional @var{stream} determines the stream to print to. The default
stream is @value{GDBN}'s standard output stream. Possible stream
@@ -4530,7 +4530,7 @@ historical compatibility.
@end defun
@findex gdb.lookup_objfile
-@defun gdb.lookup_objfile (name @r{[}, by_build_id{]})
+@defun gdb.lookup_objfile (name @r{[}, by_build_id@r{]})
Look up @var{name}, a file name or build ID, in the list of objfiles
for the current program space (@pxref{Progspaces In Python}).
If the objfile is not found throw the Python @code{ValueError} exception.