Re: [PATCH 0/9] Fix most -fgnat-encodings=minimal failures

Tom Tromey
2020-11-04T15:49:14Z

>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> GNAT has two debuginfo modes -- the default, which is to emit "GNAT
Tom> encodings", and -fgnat-encodings=minimal, which emits something closer
Tom> to pure DWARF.

Tom> Historically gdb has only handled GNAT encodings. This patch series
Tom> brings gdb most of the way to handling -fgnat-encodings=minimal. The
Tom> remaining issues are going to require some patches to GNAT and gdb; my
Tom> plan is to only land the gdb changes once the GNAT changes have gone
Tom> in.

Tom> Patches #2 - #9 were all reviewed internally by Joel. However, they
Tom> aren't all purely Ada-specific. (Patch #1 is new, written while I was
Tom> prepping this series -- see the comments there.)

Tom> For gdb itself, the benefit of these changes is that with
Tom> minimal-encodings, the Ada type system works more like the rest of
Tom> gdb. For users the main benefit is that the Python API works more
Tom> nicely.

I'm checking these in now.

Tom