We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cef519 commit da2f682Copy full SHA for da2f682
libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
@@ -30,7 +30,7 @@
30
# we exit.
31
has_run_tests = False
32
33
-has_execute_mi = "execute_mi" in gdb.__dict__
+has_execute_mi = getattr(gdb, "execute_mi", None) is not None
34
35
36
class CheckResult(gdb.Command):
0 commit comments