From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pertsserver.cs.uiuc.edu ([128.174.247.69]) by hawkwind.utcs.utoronto.ca with SMTP id <24578>; Fri, 6 Dec 1996 15:18:52 -0500 Received: (from mkgardne@localhost) by pertsserver.cs.uiuc.edu (8.8.3/8.8.3) id OAA15059; Fri, 6 Dec 1996 14:18:36 -0600 (CST) Date: Fri, 6 Dec 1996 15:18:36 -0500 Message-Id: <199612062018.OAA15059@pertsserver.cs.uiuc.edu> From: "Mark K. Gardner" To: schwartz@galapagos.cse.psu.edu CC: rc@hawkwind.utcs.toronto.edu In-reply-to: <96Dec6.114228est.12685@galapagos.cse.psu.edu> (message from Scott Schwartz on Fri, 6 Dec 1996 11:42:13 -0500) Subject: Re: RC and GDB Blues Reply-to: mkgardne@cs.uiuc.edu >>>>> "Scott" == Scott Schwartz writes: > I've run it on Solaris 2.5.1, and didn't see tha tproblem. I have discovered the problem. rc is not installed in /etc/shells and hence I cannot have it as my login shell in /etc/passwd (tcsh is). I instead "exec rc -l" from .tcshrc. GDB executes a program under the shell specified by the SHELL variable (i.e., which was tcsh in my case), which causes .tcshrc to be read, which causes "exec rc -l", which causes a SIGTRAP. Adding "SHELL=" to .rcrc cured the problem. -- Mark (mkgardne@cs.uiuc.edu) --