How to use the debugger with phat.

By default, we compile all the debugging info into Phat (the '-g'
switch when compiling). you should be able to run gdb with that:

>gdb phat
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 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"...
(gdb) run

gdb is an extremely powerful debugger, but somewhat daunting in
usage. We highly recommend installing 'ddd' as a graphical front end to
the debugger. if you are running under RH Linux, then you can get an
rpm here.

do keep in mind that resolving all the symbols in the executable of a
program takes time and memory (my debuggin session run at ~120Mb so
you need a fairly powerful machine).

(Patrick Decowski)