public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* load command supporting re-locatable binary
@ 2003-07-03 11:26 Fyles, Matthew
  0 siblings, 0 replies; only message in thread
From: Fyles, Matthew @ 2003-07-03 11:26 UTC (permalink / raw)
  To: gdb

Is it possible in any way to load a file that has been compiled as
re-locatable and set the base address for the executable causing GDB to
load the first section at the base and all subsequent sections at the
correct offsets from the base. 

The section command seems to rely on the user knowing base address for
all the sections and having to do the calculations themselves.

I would like to be able to do this without the debugger having any
information from the file command if that is possible.

Any ideas?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-03 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 11:26 load command supporting re-locatable binary Fyles, Matthew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).