diff --git a/plugins/gdb/unittests/test_gdb.cpp b/plugins/gdb/unittests/test_gdb.cpp --- a/plugins/gdb/unittests/test_gdb.cpp +++ b/plugins/gdb/unittests/test_gdb.cpp @@ -978,6 +978,11 @@ void GdbTest::testAttach() { SKIP_IF_ATTACH_FORBIDDEN(); +#ifdef Q_OS_FREEBSD + // Despite successful attach GDB MI spits out a error message "Can't allocate registers". This gets caught by KDevMI layer and gets interpreted as error. + // Upstream PR: https://sourceware.org/bugzilla/show_bug.cgi?id=23464 + QSKIP("GDB on FreeBSD produces an unexpected error message, on which KDevelop chokes"); +#endif QString fileName = findSourceFile(QStringLiteral("debugeeslow.cpp")); @@ -1007,6 +1012,11 @@ void GdbTest::testManualAttach() { SKIP_IF_ATTACH_FORBIDDEN(); +#ifdef Q_OS_FREEBSD + // Despite successful attach GDB MI spits out a error message "Can't allocate registers". This gets caught by KDevMI layer and gets interpreted as error. + // Upstream PR: https://sourceware.org/bugzilla/show_bug.cgi?id=23464 + QSKIP("GDB on FreeBSD produces an unexpected error message, on which KDevelop chokes"); +#endif QString fileName = findSourceFile(QStringLiteral("debugeeslow.cpp"));