aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/doc/ChangeLog2
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2915535..591915e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,7 @@
Tue Oct 12 09:11:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * gdb.texinfo (Files): Say what address the load command loads it at.
+
* stabs.texinfo (Common Blocks): Minor cleanups.
* stabs.texinfo: Update ld stabs in elf relocation to reflect the fact
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 341187f..e91bac9 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6574,6 +6574,11 @@ execute it gets the error message ``@code{You can't do that when your
target is @dots{}}''
@end ifset
+The file is loaded at whatever address is specified in the executable.
+For some object file formats, like a.out, the object file format fixes
+the address and so it won't necessarily match the address you gave to
+the linker.
+
@ifset VXWORKS
On VxWorks, @code{load} will dynamically link @var{filename} on the
current target system as well as adding its symbols in @value{GDBN}.