9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@cse.psu.edu
Subject: P9GCC: APE library (Was: [9fans] Fresh (relatively speaking) Graphviz)
Date: Wed,  5 Mar 2008 20:51:09 +0200	[thread overview]
Message-ID: <c6960637a38e3ca7fef30d68c68ec8f1@proxima.alt.za> (raw)
In-Reply-To: <20080305180137.F41AA1E8C57@holo.morphisms.net>

> not quite.  0(%esp) is going to be the saved %eip.
>
> getcallerpc:
> 	movl 4(%esp), %eax
> 	movl -4(%eax), %eax

Thank you, that will almost certainly save me a lot of heartache.

++L

PS: Busy rebuilding the APE libraries right now, you'll be amazed how
much has changed since GCC 3.0!  And how painful it is to track the
changes.


  reply	other threads:[~2008-03-05 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05 12:26 [9fans] Fresh (relatively speaking) Graphviz lucio
2008-03-05 18:00 ` Russ Cox
2008-03-05 18:51   ` lucio [this message]
2008-03-05 18:55   ` lucio
2008-03-05 20:58     ` Russ Cox
2008-03-05 21:07       ` lucio
2008-03-05 21:14       ` Charles Forsyth
2008-03-05 21:23         ` lucio
2008-03-06  4:47       ` lucio
2008-03-06  4:55         ` P9GCC progress (Was: [9fans] Fresh (relatively speaking) Graphviz) lucio
2008-03-06 17:07         ` [9fans] Fresh (relatively speaking) Graphviz Russ Cox

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=c6960637a38e3ca7fef30d68c68ec8f1@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).