delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/03/19:15:32

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: <20001104001409.54126.qmail@web10707.mail.yahoo.com>
Date: Fri, 3 Nov 2000 16:14:09 -0800 (PST)
From: Mike Ayers <x99969 AT yahoo DOT com>
Reply-To: mayers AT bmc DOT com
Subject: debugging rshd
To: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

    I'm having trouble with rshd and I'd like to debug the problem. 
Before I go delving into inetd.c, could someone perhaps tell me how to
start in.rshd under gdb?  I tried setting up inetd.conf as:

shell   stream   tcp   nowait   root   /usr/bin/gdb  
/usr/local/libexec/in.rshd -L

(pardon the spurious <CR>, if any, this mailer is *WEIRD*)

    ...which I thought would do it, but it didn't work.  Then I noticed
that the default entries do not appear to be consistent with:

#
# <service_name> <sock_type> <proto> <flags> <user> <server_path>
<args>
#

    ...specifically, "<server_path> <args>" appears to get
"/usr/sbin/in.rshd in.rshd -L", which seems more like "<server_path>
<server_name> <args>" to me.  Are we supposed to be handing the
executable its own name?

    Any and all enlightenment gratefully accepted.


/|/|ike


__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019