[fpc-devel] Debugging FPC

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Apr 5 15:44:15 CEST 2008


On 05 Apr 2008, at 15:38, Никита Баль wrote:
> with one only parameter -g, i also get this error.

I'm afraid I can't help you in that case. It works fine for me (under  
Linux and Mac OS X; I don't have access to Windows):

Starting program: /home/jmaebe/private/bin/ppn59 tw9766 -g -al

Breakpoint 1, 0x08048213 in main () at pp.pas:202
202	begin
(gdb) n
203	  oldexit:=exitproc;
(gdb)
204	  exitproc:=@myexit;
(gdb)
209	  Halt(compiler.Compile(''));
(gdb) s
COMPILE (CMD='') at compiler.pas:216
216	begin
(gdb) n
217	  try


Jonas


More information about the fpc-devel mailing list