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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus