This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: segfault: what should happen when I remove an inferior that is running?
Mark,
> 2010-12-22 Marc Khouzam <marc.khouzam@ericsson.com>
>
> * inferior.c (remove_inferior_command): Don't remove an active inferior.
> * mi/mi-main.c (mi_cmd_remove_inferior): Ditto.
[...]
> + if (inf->pid != 0)
> + error ("can not remove an active inferior");
Just a small nit that the ARI script discovered, we forgot the i18n
marker:
error (_("cannot remore an active inferior"));
(I also think that the proper spelling is `cannot' rather than
'can not' - confirmed by wikipedia, even though they say that it is
occasionally spelled as two words)
Would you mind making the obvious fix?
Thanks,
--
Joel