delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3A0833E6.92D1C6BE@redhat.com> |
Date: | Tue, 07 Nov 2000 17:55:02 +0100 |
From: | Corinna Vinschen <vinschen AT redhat DOT com> |
Reply-To: | cygwin <cygwin AT sources DOT redhat DOT com> |
X-Mailer: | Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686) |
X-Accept-Language: | de, en |
MIME-Version: | 1.0 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: debugging rshd |
References: | <20001106225824 DOT 58811 DOT qmail AT web10703 DOT mail DOT yahoo DOT com> |
Mike Ayers wrote: > So should I build and install all of inetutils with -g? Then how > would I proceed? Can gdb debug a service? Yes, you can debug the process by giving the Win32 native PID on the command line to attach to the process. Two problems: - You can't switch to another process (for example from debugging `inetd' to debugging the child process `rshd'. - You can't detach a process under Win32. After exiting the debugger, the debugged process will be exited as well. Another way is to add debug output to rshd to encircle the problem. > In other words, list everything that will be in argv[], as opposed > to just additional flags. It might be good to put that in the comments > in inetd.conf, since it is an easy mistake to make. man inetd Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT redhat DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |