Improve load command's help text
This fairly obvious patch adds usage text to the load command's help text. Originally it did not have usage and mentioned things like FILE and OFFSET without explaining how those should be passed in the command. gdb/ChangeLog: 2017-02-13 Luis Machado <lgustavo@codesourcery.com> * symfile (_initialize_symfile): Add usage text to the load command's help text. gdb/doc/ChangeLog: 2017-02-13 Luis Machado <lgustavo@codesourcery.com> * gdb.texinfo (Target Commands): Document the optional offset argument for the load command.
This commit is contained in:
parent
bf5f525c89
commit
5cf30ebf64
4 changed files with 20 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-02-13 Luis Machado <lgustavo@codesourcery.com>
|
||||
|
||||
* gdb.texinfo (Target Commands): Document the optional offset
|
||||
argument for the load command.
|
||||
|
||||
2017-02-10 Martin Galvan <martingalvan@sourceware.org>
|
||||
|
||||
PR gdb/21122
|
||||
|
|
|
@ -19600,8 +19600,8 @@ Show the current status of displaying communications between
|
|||
|
||||
@table @code
|
||||
|
||||
@kindex load @var{filename}
|
||||
@item load @var{filename}
|
||||
@kindex load @var{filename} @var{offset}
|
||||
@item load @var{filename} @var{offset}
|
||||
@anchor{load}
|
||||
Depending on what remote debugging facilities are configured into
|
||||
@value{GDBN}, the @code{load} command may be available. Where it exists, it
|
||||
|
@ -19620,6 +19620,10 @@ link the program; for other formats, like a.out, the object file format
|
|||
specifies a fixed address.
|
||||
@c FIXME! This would be a good place for an xref to the GNU linker doc.
|
||||
|
||||
It is also possible to tell @value{GDBN} to load the executable file at a
|
||||
specific offset described by the optional argument @var{offset}. When
|
||||
@var{offset} is provided, @var{filename} must also be provided.
|
||||
|
||||
Depending on the remote side capabilities, @value{GDBN} may be able to
|
||||
load programs into flash memory.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue