GDB "Can't exec" Problem

Sean Eric Fagan sef at kithrup.COM
Mon Apr 1 20:05:03 AEST 1991


In article <3440016 at hparc0.HP.COM> linas at 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 at 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.



More information about the Comp.unix.sysv386 mailing list