Files
binutils-gdb/gdb/python
Tom de Vries fff601fb30 [gdb/dap] Fix regressions with python 3.6
With test-case gdb.dap/ada-arrays.exp, on Leap openSUSE 15.6 with python 3.6,
I run into:
...
Python Exception <class 'TypeError'>: 'type' object is not subscriptable
Error occurred in Python: 'type' object is not subscriptable
ERROR: tcl error sourcing ada-arrays.exp.
...

This is due to using a python 3.9 construct:
...
thread_ids: dict[int, int] = {}
...

Fix this by using typing.Dict instead.

Tested on x86_64-linux.
2024-12-14 09:36:37 +01:00
..
2024-11-01 11:06:47 -06:00
2024-05-17 09:39:41 -06:00
2024-11-01 11:06:47 -06:00
2024-11-01 11:06:47 -06:00
2024-09-30 13:23:35 -06:00