diff options
| author | Martin Hořeňovský | 2025-09-22 15:12:28 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2025-09-22 15:36:46 +0200 |
| commit | 9048c24fa7c6b568d52f76cbf06bbd62b7f83556 (patch) | |
| tree | 5257d7727a2b615277d58e5a4ccebb71e80a2019 /src/catch2/internal/catch_debugger.hpp | |
| parent | 8ed8c431c601c7b303dbfe7eb412a63f1641b812 (diff) | |
| download | catch3-9048c24fa7c6b568d52f76cbf06bbd62b7f83556.tar.gz | |
Improve QNX support
This cherry-picks the source changes from PR made by @pkleymonov-qnx,
without including the build path changes that are irrelevant unless
we can add a QNX target to our CI.
Close #2953
Diffstat (limited to 'src/catch2/internal/catch_debugger.hpp')
| -rw-r--r-- | src/catch2/internal/catch_debugger.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_debugger.hpp b/src/catch2/internal/catch_debugger.hpp index 515ec763..997f4406 100644 --- a/src/catch2/internal/catch_debugger.hpp +++ b/src/catch2/internal/catch_debugger.hpp @@ -49,7 +49,7 @@ namespace Catch { #define CATCH_TRAP() __asm__(".inst 0xde01") #endif -#elif defined(CATCH_PLATFORM_LINUX) +#elif defined(CATCH_PLATFORM_LINUX) || defined(CATCH_PLATFORM_QNX) // If we can use inline assembler, do it because this allows us to break // directly at the location of the failing check instead of breaking inside // raise() called from it, i.e. one stack frame below. |