[llvm-branch-commits] [libcxx] libcxx: In gdb test detect execute_mi with feature check instead of version check. (PR #132291)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 8 13:23:20 PDT 2025
pcc wrote:
I guess `gdb.__dict__` may not correspond to the actual attributes on the object because GDB could start using a custom `tp_getattro` for that object, although that seems unlikely. I switched to checking the result of `getattr` which should be equivalent to checking whether `gdb.execute_mi` would result in an AttributeError.
https://github.com/llvm/llvm-project/pull/132291
More information about the llvm-branch-commits
mailing list