At 16:18 17/05/1998 -0500, Pete Poff wrote:
>1. How do you tell how much disk space you have left?
>
>2. Does anyone know how to use the gdb to tell what caused a program to
>crash?
>

1. Just type `df' at the command prompt.

2. If the program is one you created, compile it with the -g option and
then run `gdb program'. Then type `br main' and `r'. You can then step thru
it with `n' and `s'.

If you don't have the sources, you can strace it. Maybe that is not very
useful, but at least you will know what was the last system call the
program did prior to crash.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to