Add em22 compile, change EM machine executable format to put proc table in text
[Ack-5.5.git] / util / int / rsb.c
index 9b381c6..fcc3ca3 100644 (file)
@@ -70,7 +70,7 @@ int poprsb(rtt)
 #ifdef LOGGING
        {
                /* check SP */
-               register ptr properSP = LB - proctab[PI].pr_nloc;
+               register ptr properSP = LB - proctab.pr_nloc;
 
                if (SP < properSP)
                        warning(rtt ? WRTTSTL : WRETSTL);
@@ -92,6 +92,7 @@ int poprsb(rtt)
                        from Return Status Block
                */
                PI = st_lds(SP + rsb_PI, psize);
+               read_proctab(PI, &proctab);
                newPC(st_ldip(SP + rsb_PC));
                newLB(st_lddp(SP + rsb_LB));
                putLIN((long) st_ldu(SP + rsb_LIN, LINSIZE));