[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 Eric Botcazou changed: What|Removed |Added Severity|normal |enhancement --- Comment #15 from Eric B

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread tkacvins at gmail dot com via Gcc-bugs
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.

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
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

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread tkacvins at gmail dot com via Gcc-bugs
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.

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread andrew.teylu at vector dot com via Gcc-bugs
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

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-19 Thread andrew.teylu at vector dot com via Gcc-bugs
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