diff options
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
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. |