Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Jerome Guitton <guitton@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: add-symbol-file/load and scripts
Date: Tue, 02 Jun 2009 16:48:00 -0000	[thread overview]
Message-ID: <8ac60eac0906020947w4c413b39t3fb38bd04eeb0c41@mail.gmail.com> (raw)
In-Reply-To: <20090602162718.GA21116@adacore.com>

On Tue, Jun 2, 2009 at 9:27 AM, Jerome Guitton <guitton@adacore.com> wrote:

> the text's address, as initialized
> in the symbol file itself, would be the appropriate defaut.

AFAIU, on any UNIX system it would be appropriate default *only* for ET_EXEC.
For non-prelinked ET_DYN, one needs to add the base load address.

> We can ask ourselves if 0x6c000 would not have been an appropriate default
> for the second parameter of add-symbol-file... I am not sure it makes
> complete sense for any object format, though.

I think you've restricted your universe in the above statement to embedded
systems. My universe does not intersect with it :-(

Cheers,
-- 
Paul Pluzhnikov


  reply	other threads:[~2009-06-02 16:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 16:27 Jerome Guitton
2009-06-02 16:48 ` Paul Pluzhnikov [this message]
2009-06-02 17:04   ` Jerome Guitton
2009-06-02 17:26     ` Doug Evans
2009-06-02 18:41       ` Paul Pluzhnikov
2009-06-02 19:40         ` 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=8ac60eac0906020947w4c413b39t3fb38bd04eeb0c41@mail.gmail.com \
    --to=ppluzhnikov@google.com \
    --cc=gdb@sourceware.org \
    --cc=guitton@adacore.com \
    /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