PERFORCE change 54793 for review

Marcel Moolenaar marcel at FreeBSD.org
Sun Jun 13 06:05:08 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=54793

Change 54793 by marcel at marcel_nfs on 2004/06/13 06:03:53

	Remove assignment to td_last_frame.

Affected files ...

.. //depot/projects/gdb/sys/i386/i386/intr_machdep.c#6 edit
.. //depot/projects/gdb/sys/i386/i386/trap.c#12 edit
.. //depot/projects/gdb/sys/i386/isa/clock.c#11 edit

Differences ...

==== //depot/projects/gdb/sys/i386/i386/intr_machdep.c#6 (text+ko) ====

@@ -50,7 +50,6 @@
 #include <sys/syslog.h>
 #include <sys/systm.h>
 #include <machine/clock.h>
-#include <machine/frame.h>
 #include <machine/intr_machdep.h>
 #ifdef DDB
 #include <ddb/ddb.h>
@@ -159,7 +158,6 @@
 	int error, vector;
 
 	td = curthread;
-	td->td_last_frame = INTR_TO_TRAPFRAME(iframe);
 	td->td_intr_nesting_level++;
 
 	/*

==== //depot/projects/gdb/sys/i386/i386/trap.c#12 (text+ko) ====

@@ -193,8 +193,6 @@
 	}
 #endif
 
-	td->td_last_frame = &frame;
-
 	if ((frame.tf_eflags & PSL_I) == 0) {
 		/*
 		 * Buggy application or kernel code has disabled
@@ -927,7 +925,6 @@
 
 	sticks = td->td_sticks;
 	td->td_frame = &frame;
-	td->td_last_frame = &frame;
 	if (td->td_ucred != p->p_ucred) 
 		cred_update_thread(td);
 	if (p->p_flag & P_SA)

==== //depot/projects/gdb/sys/i386/isa/clock.c#11 (text+ko) ====

@@ -177,8 +177,6 @@
 clkintr(struct clockframe *frame)
 {
 
-	curthread->td_last_frame = CLOCK_TO_TRAPFRAME(frame);
-
 	if (timecounter->tc_get_timecount == i8254_get_timecount) {
 		mtx_lock_spin(&clock_lock);
 		if (i8254_ticked)
@@ -371,8 +369,6 @@
 rtcintr(struct clockframe *frame)
 {
 
-	curthread->td_last_frame = CLOCK_TO_TRAPFRAME(frame);
-
 	while (rtcin(RTC_INTR) & RTCIR_PERIOD) {
 		if (profprocs != 0) {
 			if (--pscnt == 0)


More information about the p4-projects mailing list