]> git.wh0rd.org - patches.git/blame - gdb-clarify-load.patch
scummvm random work
[patches.git] / gdb-clarify-load.patch
CommitLineData
5e993f12 1Index: gdb.texinfo
2===================================================================
3RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
4retrieving revision 1.487
5diff -u -p -r1.487 gdb.texinfo
6--- gdb.texinfo 24 Apr 2008 12:09:49 -0000 1.487
7+++ gdb.texinfo 27 Apr 2008 21:43:57 -0000
8@@ -12795,10 +12795,12 @@ If your @value{GDBN} does not have a @co
9 execute it gets the error message ``@code{You can't do that when your
10 target is @dots{}}''
11
12-The file is loaded at whatever address is specified in the executable.
13-For some object file formats, you can specify the load address when you
14-link the program; for other formats, like a.out, the object file format
15-specifies a fixed address.
16+The file is loaded according to the load addresses (rather than virtual) as
17+is specified in the executable. It is expected that the target system will
18+do the actual relocation, and in the process, handle such things as setup of
19+allocated sections (e.g. the bss). For some object file formats, you can
20+specify the load address when you link the program; for other formats, like
21+a.out, the object file format specifies a fixed address.
22 @c FIXME! This would be a good place for an xref to the GNU linker doc.
23
24 Depending on the remote side capabilities, @value{GDBN} may be able to