diff options
author | Tom Tromey <tromey@adacore.com> | 2020-11-04 09:17:58 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-11-04 09:17:58 -0700 |
commit | 9c91c7259122af572d50e5422c982201e4003d04 (patch) | |
tree | 06a00b97ea01afc3834d21bf6f14c5d94557dea7 /opcodes | |
parent | 8d9fd3a107c4ae251a4cbcfc995115334e0cf84e (diff) | |
download | fsf-binutils-gdb-9c91c7259122af572d50e5422c982201e4003d04.zip fsf-binutils-gdb-9c91c7259122af572d50e5422c982201e4003d04.tar.gz fsf-binutils-gdb-9c91c7259122af572d50e5422c982201e4003d04.tar.bz2 |
Handle __XVL fields in Ada type printing
Sometimes the Ada compiler will emit an "__XVL" name for a field. The
Ada compiler describes:
-- Second, the variable-length fields themselves are represented by
-- replacing the type by a special access type. The designated type of
-- this access type is the original variable-length type, and the fact
-- that this field has been transformed in this way is signalled by
-- encoding the field name as:
-- field___XVL
Currently gdb describes such fields as having "access" type, but this
is inaccurate. This patch changes gdb to avoid printing "access" in
this case.
gdb/ChangeLog
2020-11-04 Tom Tromey <tromey@adacore.com>
* ada-typeprint.c (ada_print_type): Handle __XVL fields.
gdb/testsuite/ChangeLog
2020-11-04 Tom Tromey <tromey@adacore.com>
* gdb.ada/funcall_ref.exp: Update.
* gdb.ada/var_rec_arr.exp: Update.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions