Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!uakari.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!ucsd!ucbvax!agate!darkstar!kithrup!sef From: sef@kithrup.COM (Sean Eric Fagan) Newsgroups: comp.unix.sysv386 Subject: Re: GDB "Can't exec" Problem Message-ID: <1991Apr01.100503.28260@kithrup.COM> Date: 1 Apr 91 10:05:03 GMT References: <3440016@hparc0.HP.COM> Organization: Kithrup Enterprises, Ltd. Lines: 14 In article <3440016@hparc0.HP.COM> linas@hparc0.HP.COM (Linas Petras) writes: >I am trying to run GDB-3.5 on SCO unix 3.2.2 and ever time I try and run a >test program ("hello world" type) I get an error message back from GDB >saying that permission is denied to exec /bin/sh. The solution is to have a readable copy of the shell somewhere around. I copied /bin/sh to /usr/local/lib/gsh, and told gdb to use that instead of /bin/sh. gdb works just fine now. -- Sean Eric Fagan | "I made the universe, but please don't blame me for it; sef@kithrup.COM | I had a bellyache at the time." -----------------+ -- The Turtle (Stephen King, _It_) Any opinions expressed are my own, and generally unpopular with others.