diff options
author | Tom Tromey <tromey@adacore.com> | 2022-02-01 09:46:43 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-02-04 08:19:42 -0700 |
commit | 480157863bac93e56f97f93d5d90818a47debbf6 (patch) | |
tree | f7893f22b1fcadf4294d3d3c0e8483dd9064891c /gdb/python | |
parent | 2b531492447d10de27e6210117509097f6cbc9e0 (diff) | |
download | binutils-480157863bac93e56f97f93d5d90818a47debbf6.zip binutils-480157863bac93e56f97f93d5d90818a47debbf6.tar.gz binutils-480157863bac93e56f97f93d5d90818a47debbf6.tar.bz2 |
Improve Ada unchecked union type printing
Currently, "ptype" of an Ada unchecked union may show a
compiler-generated wrapper structure in its output. It's more
Ada-like to elide this structure, which is what this patch implements.
It turned out to be simplest to reuse a part of print_variant_clauses
for this.
As this is Ada-specific, and Joel already reviewed it internally, I am
going to check it in.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions