[comp.unix.sysv386] GDB under SCO Unix?

rbraun@spdcc.COM (Rich Braun) (05/10/91)

Today I compiled the Gnu debugger version 3.5 on my SCO Unix system, and
it seems to work OK with some minor fixes to the makefile.  I started out
with config.gdb i386-sv32 and edited the makefile to use gcc rather than
cc.

I find, however, that the execle system call fails if ptrace is turned on,
unless one is user root or is owner of the binary file being exec'ed.
(Whic is not the case under gdb, which wants to fire up subprocesses using
/bin/sh.)

What magic does it take to get gdb up and running correctly under SCO
Unix 3.2.2?

Apologies if this question has already been discussed recently.

-rich