From owner-freebsd-alpha Fri Jan 4 17: 7:40 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id B78AB37B64A for ; Fri, 4 Jan 2002 17:05:38 -0800 (PST) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.12.1/8.12.1) id g0514VWP029876; Fri, 4 Jan 2002 20:04:31 -0500 (EST) Date: Fri, 4 Jan 2002 20:04:30 -0500 (EST) From: Daniel Eischen To: Bernd Walter Cc: alpha@FreeBSD.ORG Subject: Re: {get,set,make,swap}context for alpha In-Reply-To: <20020104182107.D8703@cicely8.cicely.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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