Skip to content

Commit 5efafc3

Browse files
committed
Revert "[libcxx][pretty printers] Import gdb module in gdb feature check"
This reverts commit 0c2a454. This was my mistake. When gdb can find its data directory it'll import it automatically. If it can't (like when you're using a version from a build folder) you need to give it the data directory path. We're safe to assume gdb is installed for testing purposes so it'll import it for us.
1 parent 7afa61e commit 5efafc3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libcxx/utils/libcxx/test/features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ def check_gdb(cfg):
171171
# Using the quit command here means that gdb itself exits, not just
172172
# the "python <...>" command.
173173
test_src = """\
174-
import gdb
175174
try:
176175
gdb.Breakpoint(\"main\").commands=\"foo\"
177176
except AttributeError:

0 commit comments

Comments
 (0)