[Lazarus] getting SigIll in w32 gdb

Martin lazarus at mfriebe.de
Mon Nov 8 19:10:47 CET 2010


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

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.





More information about the Lazarus mailing list