Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
To: uclinux-dev@uclinux.org
Cc: gdb@sources.redhat.com
Subject: gdbserver relocation?
Date: Mon, 24 Feb 2003 08:29:00 -0000	[thread overview]
Message-ID: <buok7fqqdzi.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)

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


             reply	other threads:[~2003-02-24  8:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24  8:29 Miles Bader [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buok7fqqdzi.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=gdb@sources.redhat.com \
    --cc=miles@gnu.org \
    --cc=uclinux-dev@uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox