diff options
author | Tom de Vries <tdevries@suse.de> | 2024-12-14 09:36:37 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-12-14 09:36:37 +0100 |
commit | fff601fb3041a566d492d2704b3fcba92a1b026a (patch) | |
tree | 80f82f4f32f1ee4bd115d8a16e34da8b03328e0c /gas/config/tc-tic6x.c | |
parent | 7d460f9edbe00d944a058b7aab9e6a85cc801e0f (diff) | |
download | gdb-fff601fb3041a566d492d2704b3fcba92a1b026a.zip gdb-fff601fb3041a566d492d2704b3fcba92a1b026a.tar.gz gdb-fff601fb3041a566d492d2704b3fcba92a1b026a.tar.bz2 |
[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.
Diffstat (limited to 'gas/config/tc-tic6x.c')
0 files changed, 0 insertions, 0 deletions