Re: [PATCH] Delete program spaces directly when removing inferiors

Pedro Alves
2015-07-08T15:59:17Z

On 07/08/2015 04:42 PM, Simon Marchi wrote:

> I have reverted the patch, since it causes a build failure:
>
> http://gdb-build.sergiodj.net/builders/Debian-s390x-native-extended-gdbserver-m64/builds/77
>
> delete_inferior_silent is actually used in monitor.c. What I don't understand is why
> monitor.o doesn't get built when I build gdb locally. When I type "make monitor.o",
> I can see the build error at least.

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.

We can probably just make monitor.c call discard_all_inferiors.

Thanks,
Pedro Alves