This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: linux native, switch forks, always have a thread


On Wed, 2008-04-30 at 15:36 +0100, Pedro Alves wrote:
> I'd missed this case when I made linux native always have a thread.
> 
> It's not perfect in the sense that switching forks ("restart"/"fork",
> not follow-fork-mode) in multi-threaded apps doesn't handle
> multi-threading correctly yet, but that is an already existing
> problem.  We shall be getting back to that in a few weeks
> for multi-process support.

I think you'll find that fork is more-or-less undefined
in the context of a multi-threaded program, meaning that
it's not terribly urgent that we try to handle this case.




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