* RFA: fix documentation for file -readnow
@ 2010-02-04 18:24 Tom Tromey
2010-02-04 19:10 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2010-02-04 18:24 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RFA: fix documentation for file -readnow
2010-02-04 18:24 RFA: fix documentation for file -readnow Tom Tromey
@ 2010-02-04 19:10 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2010-02-04 19:10 UTC (permalink / raw)
To: tromey; +Cc: gdb-patches
> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 04 Feb 2010 11:23:58 -0700
>
> 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?
Yes, of course. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-04 19:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-04 18:24 RFA: fix documentation for file -readnow Tom Tromey
2010-02-04 19:10 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox