Date: Tue, 9 Oct 2001 12:54:53 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> 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 Message-ID: <200110091954.f99JsrU54408@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110091954.f99JsrU54408>
