[0/2] Change Ada type names reported by Python

Message ID 20210617191230.71887-1-tromey@adacore.com
Headers show
Series
  • Change Ada type names reported by Python
Related show

Message

Tom Tromey June 17, 2021, 7:12 p.m.
This series changes the Python code to report the "decoded" (aka
"demangled") Ada type names.  This is arguably more correct, as the
encoded names are compiler-synthesized and surprising to users; also
it is less fragile, because the type names are generally changing
anyway as we move the compiler to "minimal encodings".

This is split in 2 parts because originally the first patch came from
my psymtab scanner rewrite; however, we realized in review that that
series will actually require a second parameter to ada_decode.  At
that point, though, it was more convenient to keep the patches
separate.

Tested on x86-64 Fedora 32.

Tom

Comments

Tom Tromey June 25, 2021, 2:02 p.m. | #1
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:


Tom> This series changes the Python code to report the "decoded" (aka
Tom> "demangled") Ada type names.  This is arguably more correct, as the
Tom> encoded names are compiler-synthesized and surprising to users; also
Tom> it is less fragile, because the type names are generally changing
Tom> anyway as we move the compiler to "minimal encodings".

I'm checking these in now.

Tom