override cn_trap() with zs_abort() so we can drop to the monitor

if there's no DDB.  fixes PR 12547.
This commit is contained in:
chs 2002-03-11 07:11:26 +00:00
parent 0a2de544dd
commit b0263218b6
3 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: z8530var.h,v 1.3 2000/03/19 13:45:23 pk Exp $ */
/* $NetBSD: z8530var.h,v 1.4 2002/03/11 07:11:26 chs Exp $ */
/*
* Copyright (c) 1992, 1993
@ -89,3 +89,6 @@ void zs_write_data __P((struct zs_chanstate *cs, u_char val));
#define ZSCCF_CHANNEL 0
#define ZSCCF_CHANNEL_DEFAULT -1
#endif
#undef cn_trap
#define cn_trap() zs_abort(NULL)

View File

@ -1,4 +1,4 @@
/* $NetBSD: z8530var.h,v 1.4 2000/11/08 23:41:42 eeh Exp $ */
/* $NetBSD: z8530var.h,v 1.5 2002/03/11 07:11:26 chs Exp $ */
/*
* Copyright (c) 1992, 1993
@ -100,3 +100,6 @@ void zs_write_data __P((struct zs_chanstate *cs, u_char val));
#define ZSCCF_CHANNEL 0
#define ZSCCF_CHANNEL_DEFAULT -1
#endif
#undef cn_trap
#define cn_trap() zs_abort(NULL)

View File

@ -1,4 +1,4 @@
/* $NetBSD: z8530var.h,v 1.7 1999/08/20 03:53:50 chs Exp $ */
/* $NetBSD: z8530var.h,v 1.8 2002/03/11 07:11:26 chs Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -78,3 +78,6 @@ void zs_write_data __P((struct zs_chanstate *cs, u_char val));
#define ZSCCF_CHANNEL 0
#define ZSCCF_CHANNEL_DEFAULT -1
#endif
#undef cn_trap
#define cn_trap() zs_abort(NULL)