mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 20:15:24 +08:00
* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
* dll_init.cc: Fix typo in comment.
This commit is contained in:
parent
38286e47f0
commit
7a5f322c35
@ -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>
|
2011-02-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
|
* configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* exception.h
|
/* 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
|
This software is a copyrighted work licensed under the terms of the
|
||||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||||
@ -19,10 +19,6 @@ class exception
|
|||||||
exception_list *save;
|
exception_list *save;
|
||||||
static int handle (EXCEPTION_RECORD *, exception_list *, CONTEXT *, void *);
|
static int handle (EXCEPTION_RECORD *, exception_list *, CONTEXT *, void *);
|
||||||
public:
|
public:
|
||||||
#ifdef DEBUG_EXCEPTION
|
|
||||||
exception ();
|
|
||||||
~exception ();
|
|
||||||
#else
|
|
||||||
exception () __attribute__ ((always_inline))
|
exception () __attribute__ ((always_inline))
|
||||||
{
|
{
|
||||||
save = _except_list;
|
save = _except_list;
|
||||||
@ -31,7 +27,6 @@ public:
|
|||||||
_except_list = ⪙
|
_except_list = ⪙
|
||||||
};
|
};
|
||||||
~exception () __attribute__ ((always_inline)) { _except_list = save; }
|
~exception () __attribute__ ((always_inline)) { _except_list = save; }
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*_EXCEPTION_H*/
|
#endif /*_EXCEPTION_H*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user