Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdbserver relocation?
@ 2003-02-24  8:29 Miles Bader
  2003-02-24 14:28 ` Daniel Jacobowitz
  0 siblings, 1 reply; 10+ messages in thread
From: Miles Bader @ 2003-02-24  8:29 UTC (permalink / raw)
  To: uclinux-dev; +Cc: gdb

Hi,

I've been trying to get gdbserver working on the v850, and I'm wondering
the m68k port deals with the address offset between the symbol file and
the actual executable, since unlike in normal linux, the executable gets
relocated at runtime in uClinux in a user visible way.

Does gdb itself have a `set base address' command?  I saw the `section'
command, but it didn't seem to have any useful effect.

It seems to me that it has to be gdb that does the offseting, since
gdbserver doesn't know which values would need adjustment (e.g.,
returned register values).

Thanks,

-Miles
-- 
"Most attacks seem to take place at night, during a rainstorm, uphill,
 where four map sheets join."   -- Anon. British Officer in WW I


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-03-04 16:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-24  8:29 gdbserver relocation? Miles Bader
2003-02-24 14:28 ` Daniel Jacobowitz
2003-02-24 15:26   ` Miles Bader
2003-02-24 15:43     ` Andrew Cagney
2003-03-04  2:28       ` Miles Bader
2003-03-04  3:03         ` Daniel Jacobowitz
2003-03-04  3:42           ` Miles Bader
2003-03-04  7:25             ` [uClinux-dev] " Greg Ungerer
2003-03-04 16:29             ` Andrew Cagney
2003-02-24 15:50     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox