forked from OSchip/llvm-project
[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)
This commit is contained in:
parent
c2634fc6ab
commit
0c2a454845
|
@ -171,6 +171,7 @@ def check_gdb(cfg):
|
||||||
# Using the quit command here means that gdb itself exits, not just
|
# Using the quit command here means that gdb itself exits, not just
|
||||||
# the "python <...>" command.
|
# the "python <...>" command.
|
||||||
test_src = """\
|
test_src = """\
|
||||||
|
import gdb
|
||||||
try:
|
try:
|
||||||
gdb.Breakpoint(\"main\").commands=\"foo\"
|
gdb.Breakpoint(\"main\").commands=\"foo\"
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
Loading…
Reference in New Issue