Date: Wed, 19 Jul 2000 00:14:01 +0200
   From: Marcus Brinkmann <[EMAIL PROTECTED]>

   Hi Kalle,

   you asked:

   > Is it possible to debug the primary exec server with gdb?
   > Or is it possible to run another exec server and debug that?

   I have successfully attached gdb to the primary exec server (pid 5), but it
   is quite unstable, and not recommended.

Marcus,

Are you aware that you can do

   $ gdb /hurd/exec
   ...
   (gdb) set noninvasive on
   (gdb) attach 5
   ...
   (gdb)

to debug essential system servers?  You cannot really control program
flow this way, but backtraces should work fine, and you can print
variables (and watch them change underneath you).

Mark

Reply via email to