Mail Archives: djgpp/1996/09/18/09:05:30
The gdb debugger IS a source level debugger. Just compile -g and run under
gdb. You list the source with the 'list' command which prints the 11 source
lines around the current execution point (once the program is running of
course) the first time it is run after an execution command (like run, next,
step, or continue) and the following 11 lines each additional time it is
issued until the next execution. Each time you issue an execution command
gdb will display the next source line to execute when the command completes.
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -