Re: [Linux-ia64] getcontext() correctly implemented ?

From: stefan <stefan_at_lkcc.org>
Date: 2001-09-22 00:11:37
On Thu, 20 Sep 2001, David Mosberger wrote:

> You didn't mention the register backing store.  Be sure to scan that
> one too!  For the main thread, libc exports a global variable which
> will help you find the beginning of the backing store.  The variable
> is called "__libc_ia64_register_backing_store_base".  I'm not sure
> what pthreads does (Hans can you help?).  The top of the register
> backing store can be obtained from the "sc_bsp" member in the ucontext
> (uc->uc_mcontext.sc_bsp).

Wow ! This fixed this specific problem. With a little change:
uc->uc_mcontext.sc_bsp is uc->uc_mcontext.sc_ar_bsp.

Thanks a lot,
	stefan@lkcc.org
Received on Fri Sep 21 07:18:54 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST