On Tue, Jul 30, 2002 at 05:12:53PM +0200, PUYDT Julien wrote:
> what I was seeking wasn't how to debug the hurd, which is far too
> complicated for me, but directions such as where to look for
> informations about what has gone wrong. For example on GNU/Linux, I know
> that by looking in /proc/<pid>, there will be some informations...

If a program hangs, it hangs because it is in a loop or it is blocking on an
RPC or other event.  Both can be easily seen with gdb.

> Are there hurd-specific tools?

You can try rpctrace, although it is a bit buggy itself.

> Using gdb sounds like a bad idea for a beginner like me; especially a
> guile-based app!

Using gdb is an excellent idea.  You better become familiar with it today
than tomorrow.  Run, not walk, to your computer and read "info gdb" :)

(install libc0.3-dbg and run programs with LD_LIBRARY_PATH=/lib/debug, so
you get debugging symbols into libc).

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    [EMAIL PROTECTED]
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de/


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


Reply via email to