From 99d1da6a3ca38a8548ced9af36d029e3620a620e Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 13 Oct 1993 00:46:09 +0000 Subject: * gdb.texinfo (Files): Say what address the load command loads it at. --- gdb/doc/gdb.texinfo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/doc/gdb.texinfo') 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}. -- cgit v1.1