From: Yao Qi Date: Thu, 29 Sep 2011 02:25:49 +0000 (+0000) Subject: gdb/doc/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24bdad53a9b175571b2681bbc4b567959f6ad344;p=binutils-gdb.git gdb/doc/ * gdb.texinfo (Files): Update options for `add-symbol-file'. Add one space after option `-s'. Remove @r{} markup. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 298319654a2..906c3b23e56 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-09-28 Yao Qi + + * gdb.texinfo (Files): Update options for `add-symbol-file'. + Add one space after option `-s'. Remove @r{} markup. + 2011-09-27 Stan Shebs * gdb.texinfo (Tracepoint Action Lists): Document $_ret. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d558ee7ed09..ea0cf57bdcb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -14821,14 +14821,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} -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{-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.