aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
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
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')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2983196..906c3b2 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-28 Yao Qi <yao@codesourcery.com>
+
+ * gdb.texinfo (Files): Update options for `add-symbol-file'.
+ Add one space after option `-s'. Remove @r{} markup.
+
2011-09-27 Stan Shebs <stan@codesourcery.com>
* gdb.texinfo (Tracepoint Action Lists): Document $_ret.
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.