aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-17 10:37:06 -0600
committerTom Tromey <tromey@adacore.com>2023-09-05 11:02:34 -0600
commitcf1eca3cbbfe8b2092d867023df7dac4d00fa4ec (patch)
tree15d96122bbe954b3203bf8a04da58587b9d2cd90 /gdb/testsuite/gdb.python
parentdec28322cf6db3b2e65bb833ba825bdfc90a3bb1 (diff)
downloadbinutils-cf1eca3cbbfe8b2092d867023df7dac4d00fa4ec.zip
binutils-cf1eca3cbbfe8b2092d867023df7dac4d00fa4ec.tar.gz
binutils-cf1eca3cbbfe8b2092d867023df7dac4d00fa4ec.tar.bz2
Use ada_value_subscript in valpy_getitem
Ada has a few complexities when it comes to array handling. Currently these are all handled in Ada-specific code -- but unfortunately that means they aren't really accessible to Python. This patch changes the Python code to defer to Ada when given an Ada array. In order to make this work, one spot in ada-lang.c had to be updated to set the "GNAT-specific" flag on an array type. The test case for this will come in a later patch.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions