Hello Jerry,
Jerry Coffin wrote to James Vahn :
JV>> Segmentation fault. Which brings us to debugging these things
JV>> under 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 is
JV>> my Hercules video, but that's beside the point. ;-)
JC> While you're in gdb you should ( assuming things are working
JC> correctly) be able to do most debugging type things other than actually
JC> running the program. E.g. looking at the values of variables and such.
And what is the purpose of the core-file that is generated when a program
crashes. What can I do with that core-file?
JC> The video you use shouldn't really make much difference - gdb is
JC> strictly text mode in any case.
I think that what James meant, was that sat.s crashes because he makes use
of an hercules video-card. ;-)
Have a nice day, Jerry. - Jan Wagemakers -
.!. Please forgive my flinstone-english ;-)
--- Terminate 4.00/Pro
(2:292/8133.23)
---------------
* Origin: - Belgi‰/Belgium - Internet : JanW@mail.dma.be
|