From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: RFA: fix documentation for file -readnow
Date: Thu, 04 Feb 2010 18:24:00 -0000 [thread overview]
Message-ID: <m37hqskgg1.fsf@fleche.redhat.com> (raw)
This patch fixes PR cli/8830.
The bug is that a user got confused by the documentation, which reads:
`symbol-file FILENAME [ -readnow ]'
`file FILENAME [ -readnow ]'
[...]
It turns out that file and symbol-file only accept -readnow as the first
argument.
This patch fixes the documentation to reflect the code.
Ok?
Tom
2010-02-04 Tom Tromey <tromey@redhat.com>
PR cli/8830:
* gdb.texinfo (Files): -readnow comes before the filename for file
and symbol-file.
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.663
diff -u -r1.663 gdb.texinfo
--- gdb.texinfo 1 Feb 2010 16:09:22 -0000 1.663
+++ gdb.texinfo 4 Feb 2010 18:22:43 -0000
@@ -13825,8 +13825,8 @@
@kindex readnow
@cindex reading symbols immediately
@cindex symbols, reading immediately
-@item symbol-file @var{filename} @r{[} -readnow @r{]}
-@itemx file @var{filename} @r{[} -readnow @r{]}
+@item symbol-file @r{[} -readnow @r{]} @var{filename}
+@itemx file @r{[} -readnow @r{]} @var{filename}
You can override the @value{GDBN} two-stage strategy for reading symbol
tables by using the @samp{-readnow} option with any of the commands that
load symbol table information, if you want to be sure @value{GDBN} has the
next reply other threads:[~2010-02-04 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 18:24 Tom Tromey [this message]
2010-02-04 19:10 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37hqskgg1.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox