-gl option does not work: 10.6 Line numbers in run-time error backtraces
Original Reporter info from Mantis: helbig
-
Reporter name: Wolfgang Helbig
Original Reporter info from Mantis: helbig
- Reporter name: Wolfgang Helbig
Description:
The program is compiled with -gl, but the line number is not reported with the runtime error message:
{$MODE ISO}
program stack (output);
var p: ^ integer;
begin
p := nil;
writeln(p^)
end.
$ fpc -gl stack.p
$ stack
Runtime error 216 at $000000010668CBB4
$000000010668CBB4
This contrasts with the users guide, 10.6:
When compiled with -gl, the following output is generated:
Runtime error 255 at 0x0040BDE5
0x0040BDE5 GENERATEERROR255, line 6 of testline.pp
0x0040BDF0 GENERATEANERROR, line 13 of testline.pp
0x0040BE0C main, line 17 of testline.pp
0x0040B7B1
Mantis conversion info:
- Mantis ID: 37910
- OS: os x
- OS Build: 10.11
- Platform: imac
- Version: 3.2.0
- Monitored by: » helbig (Wolfgang Helbig)