All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@cambridge.redhat.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] getcontext() correctly implemented ?
Date: Fri, 21 Sep 2001 08:41:05 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805235@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805230@msgid-missing>

stefan writes:
 > 
 > The garbage collector of GNU Guile does not need the machine
 > context in a signal handler. It just looks for heap references
 > within the programs stack. The top of the stack is saved when
 > starting the program, the bottom is gained from the current stack
 > position when garbage collecting. More references might be within
 > the machines registers. That is why it uses setjmp() in order to
 > get these into a defined buffer. On a ia64 Linux setjump() is not
 > said to save *all* registers. That is why I thought the
 > getcontext() function could help here. Is that true ? I already
 > tried it with glibc 2.2.3 without success. Still missed some
 > references...

I can't help thinking you'd be best looking at Hans Boehm's garbage
collector and the way it accesses registers on IA-64.  boehm-gc is in
a subdir of the gcc soures.

Andrew.



  parent reply	other threads:[~2001-09-21  8:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-20 17:34 [Linux-ia64] getcontext() correctly implemented ? stefan
2001-09-20 18:26 ` David Mosberger
2001-09-20 22:09 ` stefan
2001-09-20 22:58 ` David Mosberger
2001-09-21  8:41 ` Andrew Haley [this message]
2001-09-21 14:11 ` stefan
2001-09-21 21:28 ` Boehm, Hans

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=marc-linux-ia64-105590698805235@msgid-missing \
    --to=aph@cambridge.redhat.com \
    --cc=linux-ia64@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.