> Originally-To: Jerry Coffin
>
> 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?
> And what is the purpose of the core-file that is generated when a program
> crashes. What can I do with that core-file?
'gdb -core=core' will tell you which program dumped the core file and
should tell you where it broke (from what I understand). But I still
cannot get the symbols needed from assembly sources, yet gcc -g seems to
work fine on C source. This is a mystery to me, maybe I'm just not
understanding what a "symbol" is.
> I think that what James meant, was that sat.s crashes because he makes use
> of an hercules video-card. ;-)
That's what was meant alright, but the other day I got an SVGA machine up and
still get the segfault.
BTW, I found what looks like an excellent debugger for Linux Xwindows
called ddd. Now I need a bigger monitor.. ;-)
--- ifmail-tx (i386 Linux)
---------------
* Origin: 300 miles East of Seattle, WA (1:346/15.1)
|