Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 01:29:51 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 56563 for review
Message-ID:  <200407060129.i661TpIO098544@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=56563

Change 56563 by marcel@marcel_nfs on 2004/07/06 01:29:30

	Get the slot from PSR, not ISR. Getting it from ISR is
	unreliable.

Affected files ...

.. //depot/projects/gdb/sys/ia64/ia64/unwind.c#7 edit

Differences ...

==== //depot/projects/gdb/sys/ia64/ia64/unwind.c#7 (text+ko) ====

@@ -326,7 +326,7 @@
 
 	bsp = tf->tf_special.bspstore + tf->tf_special.ndirty;
 	bsp = ia64_bsp_adjust(bsp, -IA64_CFM_SOF(tf->tf_special.cfm));
-	ip = tf->tf_special.iip + ((tf->tf_special.isr >> 41) & 3);
+	ip = tf->tf_special.iip + ((tf->tf_special.psr >> 41) & 3);
 
 	uwxerr = uwx_init_context(rs->env, ip, tf->tf_special.sp, bsp,
 	    tf->tf_special.cfm);
@@ -353,7 +353,7 @@
 
 	bsp = pcb->pcb_special.bspstore;
 	if (pcb->pcb_special.__spare == ~0UL) {
-		ip = pcb->pcb_special.iip + ((pcb->pcb_special.isr >> 41) & 3);
+		ip = pcb->pcb_special.iip + ((pcb->pcb_special.psr >> 41) & 3);
 		cfm = pcb->pcb_special.cfm;
 		bsp += pcb->pcb_special.ndirty;
 	} else {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407060129.i661TpIO098544>