From 7a5f322c35b2af993c803beb6f575732b143b12b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 9 Feb 2011 15:40:37 +0000 Subject: [PATCH] * exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef. * dll_init.cc: Fix typo in comment. --- winsup/cygwin/ChangeLog | 8 ++++++++ winsup/cygwin/exception.h | 7 +------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8aa9c467d..d645957ba 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,11 @@ +2011-02-09 Christopher Faylor + + * exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef. + +2011-02-08 Christopher Faylor + + * dll_init.cc: Fix typo in comment. + 2011-02-07 Corinna Vinschen * configure.in: Remove AC_ALLOCA test and test for __builtin_memset. diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h index 2171f8df0..9f4a6c45c 100644 --- a/winsup/cygwin/exception.h +++ b/winsup/cygwin/exception.h @@ -1,6 +1,6 @@ /* exception.h - Copyright 2010 Red Hat, Inc. + Copyright 2010, 2011 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -19,10 +19,6 @@ class exception exception_list *save; static int handle (EXCEPTION_RECORD *, exception_list *, CONTEXT *, void *); public: -#ifdef DEBUG_EXCEPTION - exception (); - ~exception (); -#else exception () __attribute__ ((always_inline)) { save = _except_list; @@ -31,7 +27,6 @@ public: _except_list = ⪙ }; ~exception () __attribute__ ((always_inline)) { _except_list = save; } -#endif }; #endif /*_EXCEPTION_H*/