This is the mail archive of the gdb@sourceware.cygnus.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: [PATCH] remote_detach() and inferior_pid


Jim Kingdon writes:
 > > This happens because remote_detach() (and remote_async_detach()) do
 > > not reset inferior_pid to 0. Is there a reason for this being this
 > > way?
 > 
 > Setting inferior_pid to 0 sounds good.  I'm not completely sure why
 > the *_detach functions don't just call generic_mourn_inferior.
 > 
 > 

Yes, I was thinking about that too. Maybe just calling
generic_mourn_inferior is the best way to make sure that all is
cleaned up as it should be.

Elena

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