|  |     > In Digital Unix 4.0 the -noproc option for DBX no longer works.
    > How do debug programs with forks in them now?
    
    The -noproc option has not changed at all.  What type of 
    problems are you seeing?  If you see a message that says...
    
    New child attached.  Use switch to gain access to process xxx
    
    then you are running under the /proc interface.  Of course
    the debugger is really dbx, rather than DBX, so maybe you have 
    an alias set up that is ignoring -noproc?  If for some reason 
    dbx just ignores your requests for -noproc, you can always 
    set the dbx variables 
    
    $stop_on_fork   1
    $stop_on_exec   1
    
    These default to 1, but can be set to 0, 
    
    set $stop_on_fork = 0
    
    and you will still see the message
    
    New child attached.  Use switch to gain access to process 1133
    
    but the child will not stop and the parent process will not be
    paused waiting on it.
    
    Of course, since this is the ladebug forum, I would be remiss not
    to point out that ladebug uses a totally different approach
    and does not attach to the child as the default.  General dbx
    questions should be directed towards the DIGITAL_UNIX
    notes conference.  But since it started here, it would be easier
    to follow up here as well, unless the ladebug folks object.
    
    PeterT
    
 |