Message ID | 20171205124656.GA40286@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Improve debugging of task type discriminants | expand |
Index: exp_ch9.adb =================================================================== --- exp_ch9.adb (revision 255412) +++ exp_ch9.adb (working copy) @@ -13450,6 +13450,12 @@ Selector_Name => Make_Identifier (Loc, Chars (D)))); Add (Decl); + -- Set debug info needed on this renaming declaration even + -- though it does not come from source, so that the debugger + -- will get the right information for these generated names. + + Set_Debug_Info_Needed (Discriminal (D)); + Next_Discriminant (D); end loop; end;