NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40594 (gdb does not work on 5.0 RC2)



The following reply was made to PR kern/40594; it has been noted by GNATS.

From: Andrew Smallshaw <andrews%sdf.lonestar.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/40594 (gdb does not work on 5.0 RC2)
Date: Mon, 5 Jul 2010 22:04:58 +0100

 I'm posting this since I think I've just tripped on this problem
 myself on a fairly clean 5.0.2 system.  Interestingly that was
 using the stock ksh and not tcsh but again the problem can be pinned
 down to startup files, in this case my .kshrc and the lines:
 
 case `whoami` in 
     root)   PS1='# ' ;;
     *)      PS1='$ ' ;;
 esac
 
 That indicates it is a wider problem with shell/gdb interaction
 not just tcsh.  However, I tried setting $SHELL to /bin/sh and
 (after installing it) ksh93.  Both worked correctly.  Since I had
 been meaning to swap to ksh93 anyway (this is a fairly new install)
 that pretty much fixes it as far as I am concerned, but I write
 this in case it is any help as a workaround for anyone else having
 the problem.
 
 -- 
 Andrew Smallshaw
 andrews%sdf.lonestar.org@localhost
 


Home | Main Index | Thread Index | Old Index