Fix remove-inferior error message

This error message should not contain the word symbol:

  (gdb) remove-inferiors 1
  Warning: Can not remove current symbol inferior 1.

gdb/ChangeLog:

	* inferior.c (remove_inferior_command): Fix error message.

gdb/testsuite/ChangeLog:

	* gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
	expected error message.
This commit is contained in:
Simon Marchi 2016-08-17 16:02:27 -04:00
parent 63c61e04bb
commit eb2332d78d
4 changed files with 11 additions and 2 deletions

View file

@ -803,7 +803,7 @@ remove_inferior_command (char *args, int from_tty)
if (inf == current_inferior ())
{
warning (_("Can not remove current symbol inferior %d."), num);
warning (_("Can not remove current inferior %d."), num);
continue;
}