From owner-freebsd-commit Sun Oct 8 21:36:24 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA23376 for freebsd-commit-outgoing; Sun, 8 Oct 1995 21:36:24 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA23364 for cvs-all-outgoing; Sun, 8 Oct 1995 21:36:20 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA23354 for cvs-sys-outgoing; Sun, 8 Oct 1995 21:36:17 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA23337 ; Sun, 8 Oct 1995 21:36:06 -0700 Date: Sun, 8 Oct 1995 21:36:06 -0700 From: Bruce Evans Message-Id: <199510090436.VAA23337@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 trap.c Sender: owner-commit@FreeBSD.org Precedence: bulk bde 95/10/08 21:36:04 Modified: sys/i386/i386 trap.c Log: Fix tracing of syscalls. The previous fix required the undocumented option DDB_NO_LCALLS to stop ddb getting control and broke all ddb tracing. Now there is no option and no way for ddb to trace at address _Xsyscall or to _Xsyscall, but tracing everywhere else works. The previous fix did unnecessary things for Linux syscalls. Don't bother checking that syscall frames are for user mode. Make debugger traps inside the kernel (except at addresses _Xsyscall and _Xsyscall+1) fatal if ddb is not configured. They "can't happen". Add prototypes. Remove stupid comments, e.g., /*ARGSUSED*/ for args that are used.