diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 3f2ce59168fdffe6b0ad5a6e6baa3263d06fdebf..27311de6e85b5ca2a586948d87bc9593af955cf2 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4161,9 +4161,8 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
             "dyld \".*CFDataFormatters.*\" all "
             "dyld \".*libobjc.*\" all "
             "dyld \".*CarbonDataFormatters.*\" all");
-        // We know that we don't have Python on Mac.
-        pythonDumpersFailed();
     } else {
+        // We know that we don't have Python on Mac.
         loadPythonDumpers();
     }