On 05 Apr 2008, at 16:40, Никита Баль wrote:

Thank you, i'll try under Linux.

Can you tell me all list of command to gdb, which you call?

[EMAIL PROTECTED]:~/fpc/tests/webtbs$ gdb ppn59 --directory=~/fpc/compiler/
GNU gdb Red Hat Linux (6.6-45.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b PASCALMAIN
Breakpoint 1 at 0x8048213: file pp.pas, line 202.
(gdb) r
Starting program: /home/jmaebe/private/bin/ppn59

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

(ppn59 is the name of my current development binary). "n" is a shortcut for "next", "s" for "step" (into), "b" for "break"


Jonas_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to