From owner-cvs-all Tue Oct 9 12:55: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 381EA37B40B; Tue, 9 Oct 2001 12:54:53 -0700 (PDT) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f99JsrU54408; Tue, 9 Oct 2001 12:54:53 -0700 (PDT) (envelope-from iedowse) Message-Id: <200110091954.f99JsrU54408@freefall.freebsd.org> From: Ian Dowse Date: Tue, 9 Oct 2001 12:54:53 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 db_trace.c src/gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c src/sys/i386/isa apic_vector.s icu_vector.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/10/09 12:54:53 PDT Modified files: sys/i386/i386 db_trace.c gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c sys/i386/isa apic_vector.s icu_vector.s Log: Remove the Xresume* labels from the i386 interrupt handlers; the code in ipl.s and icu_ipl.s that used them was removed when the interrupt thread system was committed. Debuggers also knew about Xresume* because these labels hide the real names of the interrupt handlers (Xintr*), and debuggers need to special-case interrupt handlers to get the interrupt frame. Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to detect interrupt frames. Fast interrupt frames were never identified correctly before, so this fixes the problem of the running stack frame getting lost in a ddb or gdb trace generated from a fast interrupt - e.g. when debugging a simple infinite loop in the kernel using a serial console, the frame containing the loop would never appear in a gdb or ddb trace. Reviewed by: jhb, bde Revision Changes Path 1.29 +6 -3 src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c 1.44 +3 -2 src/sys/i386/i386/db_trace.c 1.73 +1 -3 src/sys/i386/isa/apic_vector.s 1.30 +1 -2 src/sys/i386/isa/icu_vector.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message