* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.

* dll_init.cc: Fix typo in comment.
This commit is contained in:
Christopher Faylor 2011-02-09 15:40:37 +00:00
parent 38286e47f0
commit 7a5f322c35
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2011-02-09 Christopher Faylor <me+cygwin@cgf.cx>
* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
2011-02-08 Christopher Faylor <me+cygwin@cgf.cx>
* dll_init.cc: Fix typo in comment.
2011-02-07 Corinna Vinschen <corinna@vinschen.de>
* configure.in: Remove AC_ALLOCA test and test for __builtin_memset.

View File

@ -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 = &el;
};
~exception () __attribute__ ((always_inline)) { _except_list = save; }
#endif
};
#endif /*_EXCEPTION_H*/