* [patch, doc] add-symbol-file
@ 2011-09-28 8:26 Yao Qi
2011-09-28 9:15 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Yao Qi @ 2011-09-28 8:26 UTC (permalink / raw)
To: gdb-patches
In GDB, when using add-symbol-file with `-s' option, `address' is still
needed, but `address' is missing corresponding documentation. Beside
this, there should be a space after `-s'. This patch is to address
them. OK for mainline?
--
Yao (é½å°§)
gdb/doc:
2011-09-28 Yao Qi <yao@codesourcery.com>
* gdb.texinfo (Files): Update options for `add-symbol-file'.
Add one space after option `-s'.
---
gdb/doc/gdb.texinfo | 4 ++--
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 051377d..75ac160 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -14817,14 +14817,14 @@ the program is running. To do this, use the @code{kill} command
@cindex dynamic linking
@item add-symbol-file @var{filename} @var{address}
@itemx add-symbol-file @var{filename} @var{address} @r{[} -readnow @r{]}
-@itemx add-symbol-file @var{filename} @r{-s}@var{section} @var{address} @dots{}
+@itemx add-symbol-file @var{filename} @var{address} @r{-s} @var{section} @var{address} @dots{}
The @code{add-symbol-file} command reads additional symbol table
information from the file @var{filename}. You would use this command
when @var{filename} has been dynamically loaded (by some other means)
into the program that is running. @var{address} should be the memory
address at which the file has been loaded; @value{GDBN} cannot figure
this out for itself. You can additionally specify an arbitrary number
-of @samp{@r{-s}@var{section} @var{address}} pairs, to give an explicit
+of @samp{@r{-s} @var{section} @var{address}} pairs, to give an explicit
section name and base address for that section. You can specify any
@var{address} as an expression.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [patch, doc] add-symbol-file
2011-09-28 8:26 [patch, doc] add-symbol-file Yao Qi
@ 2011-09-28 9:15 ` Eli Zaretskii
2011-09-29 3:19 ` [committed]: " Yao Qi
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2011-09-28 9:15 UTC (permalink / raw)
To: Yao Qi; +Cc: gdb-patches
> Date: Wed, 28 Sep 2011 15:48:43 +0800
> From: Yao Qi <yao@codesourcery.com>
>
> In GDB, when using add-symbol-file with `-s' option, `address' is still
> needed, but `address' is missing corresponding documentation. Beside
> this, there should be a space after `-s'. This patch is to address
> them. OK for mainline?
Yes, but please lose all the @r{} markup in the lines you modify, it
is not needed there.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-29 2:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 8:26 [patch, doc] add-symbol-file Yao Qi
2011-09-28 9:15 ` Eli Zaretskii
2011-09-29 3:19 ` [committed]: " Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox