Use ENV[0].__jmpbuf[0].
authorroland <roland>
Mon, 5 Dec 1994 17:56:44 +0000 (17:56 +0000)
committerroland <roland>
Mon, 5 Dec 1994 17:56:44 +0000 (17:56 +0000)
sysdeps/mach/hurd/alpha/longjmp-ts.c

index 8ee2b9a..ad6f80c 100644 (file)
@@ -29,13 +29,13 @@ _hurd_longjmp_thread_state (void *state, jmp_buf env, int val)
 {
   struct alpha_thread_state *ts = state;
 
-  ts->r9 = env[0].__9;
-  ts->r11 = env[0].__11;
-  ts->r12 = env[0].__12;
-  ts->r13 = env[0].__13;
-  ts->r14 = env[0].__14;
-  ts->r15 = (long int) env[0].__fp;
-  ts->r30 = (long int) env[0].__sp;
-  ts->pc = (long int) env[0].__pc;
+  ts->r9 = env[0].__jmpbuf[0].__9;
+  ts->r11 = env[0].__jmpbuf[0].__11;
+  ts->r12 = env[0].__jmpbuf[0].__12;
+  ts->r13 = env[0].__jmpbuf[0].__13;
+  ts->r14 = env[0].__jmpbuf[0].__14;
+  ts->r15 = (long int) env[0].__jmpbuf[0].__fp;
+  ts->r30 = (long int) env[0].__jmpbuf[0].__sp;
+  ts->pc = (long int) env[0].__jmpbuf[0].__pc;
   ts->r0 = val ?: 1;
 }