From: Dave A. <ai...@us...> - 2001-11-13 23:41:21
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax In directory usw-pr-cvs1:/tmp/cvs-serv7789 Modified Files: sigcontext.h Log Message: DA: for gdb build Index: sigcontext.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/sigcontext.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sigcontext.h 2001/07/31 17:33:26 1.2 +++ sigcontext.h 2001/11/13 23:41:15 1.3 @@ -1,9 +1,11 @@ #ifndef _ASM_VAX_SIGCONTEXT_H #define _ASM_VAX_SIGCONTEXT_H -/* FIXME: redo this. atp */ -#include <asm/ptrace.h> +/* FIXME: redo this. atp */ +/* D.A. replace ptrace.h with contents of structure.. + * this is so gdb will compile */ +#include <asm/psl.h> //struct sigcontext_struct { // unsigned long _unused[4]; @@ -23,7 +25,23 @@ */ struct sigcontext { - struct pt_regs regs; /* needs to be first */ + unsigned long int r0; + unsigned long int r1; + unsigned long int r2; + unsigned long int r3; + unsigned long int r4; + unsigned long int r5; + unsigned long int r6; + unsigned long int r7; + unsigned long int r8; + unsigned long int r9; + unsigned long int r10; + unsigned long int r11; /* note: we keep current in r11 */ + unsigned long int ap; + unsigned long int fp; + unsigned long int sp; + unsigned long int pc; + struct psl_fields psl; unsigned long oldmask; unsigned long usp; /* usp before stacking this gunk on it */ }; |