Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: eliz@gnu.org
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc/rft] [3/3] Remove stabs target macros: SOFUN_ADDRESS_MAYBE_MISSING
Date: Mon, 15 Oct 2007 14:10:00 -0000	[thread overview]
Message-ID: <200710151350.l9FDo9uL012613@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <ubqb1jt2f.fsf@gnu.org> from "Eli Zaretskii" at Oct 14, 2007 11:16:08 PM

Eli Zaretskii wrote:
> > +@code{N_FUN} stabs have an address of zero.  Instead, you should find the
> > +addresses where the function starts by taking the function name from the
> > +stab, and then looking that up in the minsyms (the linker/assembler symbol
> > +table).  In other words, the stab has the name, and the linker/assembler
> > +symbol table is the only place that carries the address.
> 
> I'm confused by the "Instead" thing: instead of what? instead of using
> the (otherwise non-zero) address of N_FUN?

Yes, exactly.  Do you feel this needs to be clarified?

"Instead of using this address, you should find ..." ?


Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2007-10-15 13:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 18:06 Ulrich Weigand
2007-10-06  7:16 ` Eli Zaretskii
2007-10-08 11:19   ` Ulrich Weigand
2007-10-08 23:17     ` Eli Zaretskii
2007-10-09 19:55       ` Ulrich Weigand
2007-10-09 23:29         ` Eli Zaretskii
2007-10-14 20:32           ` Ulrich Weigand
2007-10-14 22:16             ` Eli Zaretskii
2007-10-15 14:10               ` Ulrich Weigand [this message]
2007-10-15 17:53                 ` Eli Zaretskii

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=200710151350.l9FDo9uL012613@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.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