This is the mail archive of the
mailing list for the GDB project.
Re: segfault: what should happen when I remove an inferior that is running?
On Tuesday 14 December 2010 15:08:31, Tom Tromey wrote:
> Removes the inferior INFNO. It is not possible to remove an
> inferior that is running with this command.
> I think this means we are missing an error check somewhere.
Yeah. I guess we could also offer to kill it or some such,
but I guess I must have thought that it'd be simpler to
just error out. (either way, the user needs to take further
action, so erroring out is simpler.)