[Cygwin] Fix for: detaching crashes the inferior.

Corinna Vinschen vinschen@redhat.com
Fri Apr 13 13:40:00 GMT 2007


On Apr 10 22:39, Pedro Alves wrote:
> 
> >>Pedro Alves wrote:
> >>
> >>The current code uses delete_command to remove breakpoints, but
> >>that leaves the internal breakpoints behind - not something
> >>we want.  Is there a case where we can get to to_detach
> >>without remove_breakpoints being called?  I don't think there
> >>is - we always get here through normal_stop, right?
> >>If there isn't, I'll just remove the call to it I'm
> >>introducing in the patch.
> >>    
> 
> Here is the updated patch that removes the call to delete_command.
> 
> OK?

Ok with me, but Chris has the final word.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Gdb-patches mailing list