From 1bcdb3f6ec4574b680f3237ff7683fd7e961c76a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Nov 1999 13:31:13 +0000 Subject: Committed modifications from ITRON Task and Task Dependendent Synchronization Working Group. Included are tests. --- c/src/lib/include/rdbg/i386/rdbg_f.h | 41 ------------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 c/src/lib/include/rdbg/i386/rdbg_f.h (limited to 'c/src/lib/include/rdbg/i386/rdbg_f.h') diff --git a/c/src/lib/include/rdbg/i386/rdbg_f.h b/c/src/lib/include/rdbg/i386/rdbg_f.h deleted file mode 100644 index c75cecc7bc..0000000000 --- a/c/src/lib/include/rdbg/i386/rdbg_f.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - ************************************************************************** - * - * Component = RDBG - * Module = rdbg_f.h - * - * Synopsis = Machine-dependent header file - * - * $Id$ - * - ************************************************************************** - */ - -#ifndef RDBG_F_H -#define RDBG_F_H - -#include -#include - -#define EFLAGS_TF 0x00100 - -static inline int isRdbgException(Exception_context *ctx) -{ - if ( - ctx->ctx->idtIndex != I386_EXCEPTION_DEBUG && - ctx->ctx->idtIndex != I386_EXCEPTION_BREAKPOINT && - ctx->ctx->idtIndex != I386_EXCEPTION_ENTER_RDBG - ) return 0; - else return 1; -} -static inline int getExcNum(Exception_context *ctx) -{ - return ctx->ctx->idtIndex; -} - -extern void connect_rdbg_exception(); - -#endif - - - -- cgit v1.2.3