[fpc-devel] BacktraceStrFunc on linux x86_64?

Florian Klämpfl florian at freepascal.org
Mon May 1 10:46:50 CEST 2017

Am 01.05.2017 um 10:40 schrieb Nikolai Zhubr:
> 01.05.2017 11:21, Michael Van Canneyt:
> [...]
>> No, but the units that we distribute do not have debug information
>> included.
>> So if the error is in the RTL, then there is no debug information.
> Ok, right, but then I suppose it should show line number as soon as the example is modified like this:
> procedure Test3;
> var a, b: integer;
> begin
>   a := 1; b := 0;
>   writeln(a/b);
> end;
> And I'm still getting just an address anyway...

3.0.x is broken in this regard (stack back trace on x86-64 elf targets), see other threads on the
fpc mailing lists regarding this. This is why we discussing a quick as possibile 3.0.4 release.

More information about the fpc-devel mailing list