[PATCH] Delete program spaces directly when removing inferiors

Simon Marchi simon.marchi@ericsson.com
Wed Jul 8 18:10:00 GMT 2015


On 15-07-08 11:59 AM, Pedro Alves wrote:
> 
> Yeah, it's only built if you build support for a target that pulls it in.
> See configure.tgt, look for monitor.o.  The buildbot uses --enable-targets=all,
> you probably didn't.

Oh right, I'll build with --enable-targets=all consistently from now on.

> We can probably just make monitor.c call discard_all_inferiors.

This doesn't have the same effect though. discard_all_inferiors
does not delete the inferior, it just makes them exit.  I am not
sure what difference it will make.

Is there any way to test that code path relatively easily on x86?



More information about the Gdb-patches mailing list