This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vfork thoughts


Phil> If anyone has a real life use case for debugging a vfork scenario we 
Phil> could model, that would help also.

gcc uses vfork when spawning child processes.  And, the code that
actually does this does do some work between the vfork and the exec --
it is extremely common to move file descriptors around here.  So, if
you want to debug in this region, or just want to debug child
processes created by vfork, gcc works :).  There are probably a lot of
other examples like this.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]