Date: Sat, 3 Apr 2004 19:29:26 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 50301 for review Message-ID: <200404040329.i343TQvY059749@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50301 Change 50301 by marcel@marcel_nfs on 2004/04/03 19:28:46 Don't set td_last_frame before we enter the debugger when kdb_active is set. We would be clobbering the frame that the debugger is actually using. Affected files ... .. //depot/projects/gdb/sys/i386/i386/trap.c#8 edit Differences ... ==== //depot/projects/gdb/sys/i386/i386/trap.c#8 (text+ko) ==== @@ -185,7 +185,6 @@ atomic_add_int(&cnt.v_trap, 1); type = frame.tf_trapno; - td->td_last_frame = &frame; #ifdef KDB if (kdb_active && type == T_PAGEFLT) { @@ -194,6 +193,8 @@ } #endif + td->td_last_frame = &frame; + if ((frame.tf_eflags & PSL_I) == 0) { /* * Buggy application or kernel code has disabled
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404040329.i343TQvY059749>