Date: Sat, 3 Apr 2004 19:17:11 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 50300 for review Message-ID: <200404040317.i343HBox057734@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50300 Change 50300 by marcel@marcel_nfs on 2004/04/03 19:16:20 Set curthread->td_last_frame. Affected files ... .. //depot/projects/gdb/sys/alpha/alpha/interrupt.c#5 edit .. //depot/projects/gdb/sys/alpha/alpha/trap.c#4 edit Differences ... ==== //depot/projects/gdb/sys/alpha/alpha/interrupt.c#5 (text+ko) ==== @@ -109,6 +109,8 @@ intr_restore(s); #endif atomic_add_int(&td->td_intr_nesting_level, 1); + td->td_last_frame = framep; + #if KSTACK_GUARD_PAGES == 0 #ifndef SMP { ==== //depot/projects/gdb/sys/alpha/alpha/trap.c#4 (text+ko) ==== @@ -283,6 +283,13 @@ #endif p = td->td_proc; + if (kdb_active && entry == ALPHA_KENTRY_MM) { + kdb_trap(entry, a0, framep); + return; + } + + td->td_last_frame = framep; + /* GIANT_REQUIRED; * Giant hasn't been acquired yet. @@ -653,6 +660,7 @@ cnt.v_syscall++; td->td_frame = framep; + td->td_last_frame = framep; opc = framep->tf_regs[FRAME_PC] - 4; sticks = td->td_sticks; if (td->td_ucred != p->p_ucred)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404040317.i343HBox057734>