From 9ae7db094523568a5655ec68bd8bd6b13671547a Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 5 Jul 1997 20:47:35 +0000 Subject: [PATCH] Garbage-collect old KGDB glue. --- sys/arch/i386/i386/locore.s | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index 79f4c3269117..7e710c5d8aa8 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.165 1997/03/22 16:56:00 mycroft Exp $ */ +/* $NetBSD: locore.s,v 1.166 1997/07/05 20:47:35 thorpej Exp $ */ /*- * Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved. @@ -145,14 +145,6 @@ .set _APTDpde,(_PTD + APTDPTDI * 4) # XXX 4 == sizeof pde -/* - * Non-profiled, profiled, and alternate entry points. - * - * XXX most entry points should be profilable. Due to ignorance of which - * are safe, only a few (bcopy, copyin, copyout) are profiled. - */ -#define ALTENTRY(name) .globl _/**/name; _/**/name: - /* * Initialization */ @@ -1917,13 +1909,8 @@ ENTRY(savectx) #define TRAP(a) pushl $(a) ; jmp _alltraps #define ZTRAP(a) pushl $0 ; TRAP(a) -#ifdef KGDB -#define BPTTRAP(a) testb $(PSL_I>>8),13(%esp) ; jz 1f ; sti ; 1: ; \ - pushl $(a) ; jmp _bpttraps -#else #define BPTTRAP(a) testb $(PSL_I>>8),13(%esp) ; jz 1f ; sti ; 1: ; \ TRAP(a) -#endif .text IDTVEC(trap00) @@ -2085,19 +2072,6 @@ calltrap: 4: .asciz "WARNING: SPL NOT LOWERED ON TRAP EXIT\n" #endif /* DIAGNOSTIC */ -#ifdef KGDB -/* - * This code checks for a kgdb trap, then falls through - * to the regular trap code. - */ -NENTRY(bpttraps) - INTRENTRY - testb $SEL_RPL,TF_CS(%esp) - jne calltrap - call _kgdb_trap_glue - jmp calltrap -#endif /* KGDB */ - /* * Old call gate entry for syscall */