GDB under SCO Unix?

Rich Braun rbraun at spdcc.COM
Fri May 10 06:50:56 AEST 1991


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



More information about the Comp.unix.sysv386 mailing list