Skip to content

Commit 0c2a454

Browse files
committed
[libcxx][pretty printers] Import gdb module in gdb feature check
Earlier versions of GDB do not do this automatically. (from my checks 8.3 does not and 9.2 does)
1 parent c2634fc commit 0c2a454

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/utils/libcxx/test/features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ 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
174175
try:
175176
gdb.Breakpoint(\"main\").commands=\"foo\"
176177
except AttributeError:

0 commit comments

Comments
 (0)