Re: [PATCH 0/2] GCC exception codes

2020-08-20 Thread Corinna Vinschen
On Aug 20 10:55, Ken Brown via Cygwin-patches wrote: > Ken Brown (2): > Cygwin: add header defining GCC exception codes > Cygwin: strace: ignore GCC exceptions > > winsup/cygwin/exceptions.cc | 10 +- > winsup/cygwin/gcc_seh.h | 19 +++ > winsup/utils/strace.cc

[PATCH 0/2] GCC exception codes

2020-08-20 Thread Ken Brown via Cygwin-patches
Ken Brown (2): Cygwin: add header defining GCC exception codes Cygwin: strace: ignore GCC exceptions winsup/cygwin/exceptions.cc | 10 +- winsup/cygwin/gcc_seh.h | 19 +++ winsup/utils/strace.cc | 8 3 files changed, 28 insertions(+), 9 deletions(-)

[PATCH 1/2] Cygwin: add header defining GCC exception codes

2020-08-20 Thread Ken Brown via Cygwin-patches
Include it in exceptions.cc instead of defining the exception codes there. --- winsup/cygwin/exceptions.cc | 10 +- winsup/cygwin/gcc_seh.h | 19 +++ 2 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 winsup/cygwin/gcc_seh.h diff --git

[PATCH 2/2] Cygwin: strace: ignore GCC exceptions

2020-08-20 Thread Ken Brown via Cygwin-patches
Any C++ app that calls 'throw' on 64-bit Cygwin results in an exception of type STATUS_GCC_THROW (0x20474343) generated by the C++ runtime. Don't pollute the strace output by printing information about this and other GCC exceptions. --- winsup/utils/strace.cc | 8 1 file changed, 8

Re: [PATCH] Cygwin: strace: ignore GCC exceptions

2020-08-20 Thread Ken Brown via Cygwin-patches
On 8/20/2020 10:06 AM, Corinna Vinschen wrote: Wouldn't it make sense to create a header defining the GCC status values as in libgcc/unwind-seh.c and share this between exceptions.cc and strace.cc? Yes, thanks for the suggestion. New patch(es) on the way. I called the header "gcc_seh.h".

Re: [PATCH] Cygwin: strace: ignore GCC exceptions

2020-08-20 Thread Corinna Vinschen
Hi Ken, On Aug 20 09:54, Ken Brown via Cygwin-patches wrote: > Any C++ app that calls 'throw' on 64-bit Cygwin results in an > exception of type STATUS_GCC_THROW (0x20474343) generated by the C++ > runtime. Don't pollute the strace output by printing information > about this and other GCC

[PATCH] Cygwin: strace: ignore GCC exceptions

2020-08-20 Thread Ken Brown via Cygwin-patches
Any C++ app that calls 'throw' on 64-bit Cygwin results in an exception of type STATUS_GCC_THROW (0x20474343) generated by the C++ runtime. Don't pollute the strace output by printing information about this and other GCC exceptions. --- winsup/utils/strace.cc | 7 +++ 1 file changed, 7