Re: Ada compile with -fvar-tracking

Tom Tromey
2023-11-14T19:41:06Z

>>>>> "Carl" == Carl Love <cel@linux.ibm.com> writes:

Carl> Per our conversation on HexChat about using -fvar-tracking when
Carl> compiling Ada programs.

Carl> I tried adding the -fvar-tracking option based on the examples we
Carl> talked about. Here are the changes I used:

Carl> +set flags [list debug additional_flags=-fvar-tracking]

Yeah, I played with it a bit and came up with the non-obvious:

set flags {debug additional_flags=-cargs additional_flags=-fvar-tracking additional_flags=-margs}

which I guess would be prettier wrapped in a proc or some kind of
mapping thing.

Tom