Public bug reported: Base information:
Ubuntu 20.04.4 LTS (but likely to be the case with 22.04 too) Affected package: gdb-mingw-w64-target When the code being debugged on Windows using gdbserver is throwing exceptions, we expect the appropriate catch statements to be executed properly. Instead, the exception propagates all the way up to language library, which terminates the process. Running the same program but outside gdbserver yield the correct behaviour (exception catched). The version of gdbserver in Ubuntu 20.04 is 9.1. The same bad behaviour was seen with gdb version upto and including 11.2. The good behaviour occurs with gdbserver 12 (which is not release yet :-( ). Please consider using gdb 12 as soon as possible. ** Affects: gdb-mingw-w64 (Ubuntu) Importance: Undecided Status: New ** Tags: gdb mingw-w64 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969379 Title: gdbserver on Windows does not catch thrown exceptions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb-mingw-w64/+bug/1969379/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs