[gdb/dap] Disable DAP for python <= 3.5
authorTom de Vries <tdevries@suse.de>
Wed, 2 Aug 2023 21:14:58 +0000 (23:14 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 2 Aug 2023 21:14:58 +0000 (23:14 +0200)
commit3c3e54d7b5f7da003292710fe810e670d45832d8
treeb2315895e9f8e9e9d82f830766126f71f60438bb
parent86bb2d76c901a558e5b2dd29df95874ce6e78dae
[gdb/dap] Disable DAP for python <= 3.5

DAP requires python module typing, which is supported starting python 3.5.

Make this formal by:
- disabling the dap interpreter for python version < 3.5
- returning 0 in allow_dap_tests for python version < 3.5

Approved-By: Tom Tromey <tom@tromey.com>
PR dap/30708
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30708
gdb/python/py-dap.c
gdb/testsuite/lib/gdb.exp