From: Jim Kingdon Date: Wed, 13 Oct 1993 00:46:09 +0000 (+0000) Subject: * gdb.texinfo (Files): Say what address the load command loads it at. X-Git-Tag: gdb-4_18-branchpoint~17131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99d1da6a3ca38a8548ced9af36d029e3620a620e;p=thirdparty%2Fbinutils-gdb.git * gdb.texinfo (Files): Say what address the load command loads it at. --- 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}.