[fpc-devel] Debugging FPC
jonas.maebe at elis.ugent.be
Sat Apr 5 16:55:12 CEST 2008
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?
jmaebe at nie:~/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
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
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.
Starting program: /home/jmaebe/private/bin/ppn59
Breakpoint 1, 0x08048213 in main () at pp.pas:202
COMPILE (CMD='') at compiler.pas:216
(ppn59 is the name of my current development binary). "n" is a
shortcut for "next", "s" for "step" (into), "b" for "break"
More information about the fpc-devel