On (19 Jul 97) James Vahn wrote to Jan Wagemakers...
JV> Segmentation fault. Which brings us to debugging these things under
JV> Linux... How is it done? I could get a core dump, which I
JV> understand is fed into gdb, but then what? Most likely the problem
JV> is my Hercules video, but that's beside the point. ;-)
While you're in gdb you should ( assuming things are working correctly)
be able to do most debugging type things other than actually running the
program. E.g. looking at the values of variables and such.
The video you use shouldn't really make much difference - gdb is
strictly text mode in any case. Since you're working with a core dump
instead of a progra, they don't even have to play tricks to keep the
output from the debugger separate from the output from the program.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|