diff options
author | Tom Tromey <tromey@adacore.com> | 2021-10-18 12:32:18 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-10-19 13:30:59 -0600 |
commit | 5a8edb756a56cdfb563006cbc39561994acf6d2d (patch) | |
tree | 58e9c09bd17adc4f1dcde2868f8b3c8c7478b21b /gdb/python | |
parent | 775d36a916c1be042ceb67fc6ea22f53a9f5e331 (diff) | |
download | gdb-5a8edb756a56cdfb563006cbc39561994acf6d2d.zip gdb-5a8edb756a56cdfb563006cbc39561994acf6d2d.tar.gz gdb-5a8edb756a56cdfb563006cbc39561994acf6d2d.tar.bz2 |
Check index in type::field
This changes gdb to check the index that is passed to type::field.
This caught one bug in the Ada code when running the test suite
(actually I found the bug first, then realized that the check would
have helped), so this patch fixes that as well.
Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions