https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
Eric Botcazou changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #15 from Eric B
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
--- Comment #14 from Tom Kacvinsky ---
Unfortunately, -fgnat-encodings=all doesn't help when using -gcodeview. We
still get the same error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
--- Comment #13 from Eric Botcazou ---
Making -gcodeview works for Ada in the general case looks hopeless given the
sophistication of the DWARF required to describe Ada's dynamic types, so the
only way out is probably to force -fgnat-encodings=a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
--- Comment #12 from Tom Kacvinsky ---
Unrelated to Ada, but I should probably check the Fortran compiler to see if it
supports -gcodeview.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
--- Comment #11 from Andrew Teylu ---
Ah, no, I think Eric is correct in that it doesn't work at all (even if gcc
doesn't fail).
I used https://github.com/Microsoft/microsoft-pdb/blob/master/cvdump/cvdump.exe
to look at the pdb file generated w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
--- Comment #10 from Andrew Teylu ---
Btw, it isn't that it _never_ works:
```
package LOCAL_IO is
function GET_NEXT return Integer;
end LOCAL_IO;
package body LOCAL_IO is
type TEXT_TYPE (LENGTH : Positive := 1) is record
null;
e