This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: Initialize the correct cwd for the child


> From: Robert Hoehne <robert.hoehne@gmx.net>
> Date: Sat, 5 Aug 2000 23:55:15 +0200
>
> The problem here is only the DJGPP situation, where we
> need to save (and restore) the childs cwd

Yes, I know that (I wrote that directory-save stuff, remember? ;-).

> since on unix the child runs as a separate thred (or process), where
> the OS does the job for remembering the cwd.

AFAIK, on Unix the process's cwd is determined when the process is
created.  I wasn't sure when does that process creation happen in the
Unix versions of GDB, thus my question.

Thanks for the patch, I've committed it.

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