From 99d1da6a3ca38a8548ced9af36d029e3620a620e Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 13 Oct 1993 00:46:09 +0000 Subject: [PATCH] * gdb.texinfo (Files): Say what address the load command loads it at. --- gdb/doc/ChangeLog | 2 ++ gdb/doc/gdb.texinfo | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 2915535f1e0..591915e24c7 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 341187f0b11..e91bac90e45 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}. -- 2.30.2