Changeset 28fc7b in git
- Timestamp:
- Oct 4, 2006, 2:40:58 PM (17 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 1270db5f01f485ad9468a63f65555465d4ccf057
- Parents:
- f72aa03de97b3f79074d5677ce1c4649220522ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/cntrlc.cc
rf72aa03 r28fc7b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: cntrlc.cc,v 1.5 0 2006-10-04 12:37:42Singular Exp $ */4 /* $Id: cntrlc.cc,v 1.51 2006-10-04 12:40:58 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - interupt handling … … 162 162 #endif 163 163 #if defined(linux) && defined(x86_64_Linux) 164 struct sigcontext_struct {165 unsigned long r8;166 unsigned long r9;167 unsigned long r10;168 unsigned long r11;169 unsigned long r12;170 unsigned long r13;171 unsigned long r14;172 unsigned long r15;173 unsigned long rdi;174 unsigned long rsi;175 unsigned long rbp;176 unsigned long rbx;177 unsigned long rdx;178 unsigned long rax;179 unsigned long rcx;180 unsigned long rsp;181 unsigned long eip /*rip*/;182 unsigned long eflags; /* RFLAGS */183 unsigned short cs;184 unsigned short gs;185 unsigned short fs;186 unsigned short __pad0;187 unsigned long err;188 unsigned long trapno;189 unsigned long oldmask;190 unsigned long cr2;191 struct _fpstate __user *fpstate; /* zero when no FPU context */192 unsigned long reserved1[8];193 };194 164 #define HAVE_SIGSTRUCT 195 typedef struct sigcontext_struct sigcontext;196 165 #endif 197 166 … … 213 182 fprintf(stderr,"Segment fault/Bus error occurred at %x because of %x (r:%d)\n" 214 183 "please inform the authors\n", 215 (long)s.eip,(long)s.cr2,siRandomStart); 184 #ifdef __i386__ 185 (long)s.eip, 186 #else /* x86_64*/ 187 (long)s.rip, 188 #endif 189 (long)s.cr2,siRandomStart); 216 190 } 217 191 # ifdef __OPTIMIZE__
Note: See TracChangeset
for help on using the changeset viewer.