Re: [fpc-devel] Dwarf and "Result"

2020-08-22 Thread Martin Frb via fpc-devel
On 22/08/2020 13:54, Jonas Maebe via fpc-devel wrote: Lowercase variables cannot be accessed directly by Pascal code, and only by the compiler itself (or through absolute aliases). Gdb shows all 3 values in the locals -stack-list-locals So the double "result"/"RESULT" is irritating. Anyway it

Re: [fpc-devel] Dwarf and "Result"

2020-08-22 Thread Jonas Maebe via fpc-devel
On 19/08/2020 20:01, Martin via fpc-devel wrote: > I just noted (testing with 3.3.1 from 2 or 3days ago) that -gw adds 3 > variables for result > "result" > "FUNCTIONNAME" > "RESULT" > > Why an upper, and lowercase result? "result" is the actual function result parameter. "FUNCTIONNAME" is an al

[fpc-devel] Dwarf and "Result"

2020-08-19 Thread Martin via fpc-devel
I just noted (testing with 3.3.1 from 2 or 3days ago) that -gw adds 3 variables for result "result" "FUNCTIONNAME" "RESULT" Why an upper, and lowercase result? Not tested with dwarf-3 Not tested with older fpc Win64 Regards Martin ___ fpc-devel mai