aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-09-29 02:25:49 +0000
committerYao Qi <yao@codesourcery.com>2011-09-29 02:25:49 +0000
commit24bdad53a9b175571b2681bbc4b567959f6ad344 (patch)
treee1c7cf27bb54cc38aedb53dde0e0c0b0ce8175fe /gdb/doc/gdb.texinfo
parent412946b6bae2a7a4849cd65f7321edee1b192c92 (diff)
downloadgdb-24bdad53a9b175571b2681bbc4b567959f6ad344.zip
gdb-24bdad53a9b175571b2681bbc4b567959f6ad344.tar.gz
gdb-24bdad53a9b175571b2681bbc4b567959f6ad344.tar.bz2
gdb/doc/
* gdb.texinfo (Files): Update options for `add-symbol-file'. Add one space after option `-s'. Remove @r{} markup.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d558ee7..ea0cf57 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.