Date: Tue, 06 Jul 1999 23:50:57 +0800 From: Peter Wemm <peter@netplex.com.au> To: Martin Cracauer <cracauer@FreeBSD.org> 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 Message-ID: <19990706155057.C664178@overcee.netplex.com.au> In-Reply-To: Your message of "Tue, 06 Jul 1999 00:13:49 MST." <199907060713.AAA83501@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990706155057.C664178>