[Lazarus] getting SigIll in w32 gdb

Martin lazarus at mfriebe.de
Mon Nov 8 19:14:58 CET 2010


On 08/11/2010 18:10, Martin wrote:
> I tried the below, with various versions of gdb on w32 / vista
>
> - gdb 6.8.3  /  7.0  /  7.0.50  /  7.1-2  /  7.2-1
> - you can comment out the writeln => no change
forgot:
using dwarf -gw -godwarfset
and fpc trunk (today)

not tested with stabs or older fpc yet

>
> set breakpoint on first call of "Test"
> then step twice with F8
>
> 2nd time F8 cause sig-ill
>
> disassembler window shows that either the pc is wrong, or some bad 
> data was written there...
>
> -- 
> Can any one test, if they can reproduce?
>
>
> program project1;
> {$mode objfpc}{$H+}
>
> procedure Test;
> begin
>   Writeln('Hello World'); // output isn't important
> end;
>
> begin
>   Test; // breakpoint
>   Test;
>   Test;
> end.
>
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list