[fpc-devel] BacktraceStrFunc on linux x86_64?

Nikolai Zhubr n-a-zhubr at yandex.ru
Mon May 1 10:40:06 CEST 2017


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...


Thank you,
Nikolai

>
> If I run your program with a RTL compiled with debug info, I get:
>
> home: >./st
> Started...
> Exception: $000000000046F571 CHECKINDEX, line 56 of
> ../objpas/classes/lists.inc
> Done.
>
> Michael.
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list