From owner-cvs-all Tue Jul 6 8:51:11 1999 Delivered-To: cvs-all@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id E06EE14D3B; Tue, 6 Jul 1999 08:50:59 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id C664178; Tue, 6 Jul 1999 23:50:57 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Martin Cracauer Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c src/sys/i386/include frame.h src/sys/kern kern_sig.c src/sys/sys signal.h signalvar.h In-reply-to: Your message of "Tue, 06 Jul 1999 00:13:49 MST." <199907060713.AAA83501@freefall.freebsd.org> Date: Tue, 06 Jul 1999 23:50:57 +0800 From: Peter Wemm Message-Id: <19990706155057.C664178@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Martin Cracauer wrote: > cracauer 1999/07/06 00:13:49 PDT > > Modified files: > sys/i386/i386 genassym.c machdep.c > sys/i386/include frame.h > sys/kern kern_sig.c > sys/sys signal.h signalvar.h > Log: > Except those applications that access hidden signal handler arguments > bejond the documented third one. If you have applications that do, > please let me know so that we take the opportunity to provide the > functionality they need in a documented manner. The one that springs to mind is cvsup (more specifically, the M3 runtime) that accesses sf_addr to get the faulting address. > Also except application that use 'struct sigframe' directly. You need > to recompile gdb and doscmd. `make world` is recommended. I've been looking at the Alpha code to try and figure out how to do this there too. The calling conventions have me a little confused but I think I have a handle on it. The "problem" is that the Alpha doesn't have a sigframe, it passes the args to the called functions by register and a pointer to the sigcontext which was pushed onto the stack. I am thinking that the easiest way to get this to work will be to additionally push a siginfo_t onto the stack for siginfo signals and change the code argument to point to it and leave the sigcontext pointer as is. I don't understand the Alpha assembler very well at all so I'm reluctant to tweak it much. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message