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
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(-)
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
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
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".
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
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