Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 20:04:30 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        Bernd Walter <ticso@cicely8.cicely.de>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: {get,set,make,swap}context for alpha
Message-ID:  <Pine.SUN.3.91.1020104195809.28747A-100000@pcnet1.pcnet.com>
In-Reply-To: <20020104182107.D8703@cicely8.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jan 2002, Bernd Walter wrote:
> Signaling does not work, yet:
> ticso@cicely9# ./test_context
> Send a few SIGUSR1's to pid 65430
> Main: setting context to myself.
> Main: returned from setcontext.
> Proc3 called with arguments (1)
> Proc3: working...
> Proc3: working...
> Proc3: working...
> Proc3: working...
> Proc3: working...
> Proc3: returned from getcontext, count 1
> Got signal 30, uc_rev 0x0
> Assertion failed: (setcontext(ucp) == 0), function sighandler, file test_context.c, line 77.
> Abort (core dumped)
> Exit 134

I just incorporated all of your fixes and also fixed signaling
(it was a typo on my part, ACEDBADD instead of ACEDBADE).  The
updated alpha bits are at:

  http://people.freebsd.org/~deischen/ucontext/uc-alpha-standalone.tgz

Passing more than 6 arguments also wasn't quite right, and I
fixed that too.

If anyone would like to review these bits, I'd appreciate it.
I'll come up with a complete libc and sys patch and go pester
-arch in the next day or two.

Thanks for all the help Bernd!

-- 
Dan Eischen

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1020104195809.28747A-100000>