aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-08-17 16:02:27 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2016-08-17 16:02:27 -0400
commiteb2332d78d4ef40a2696aa0f6c833ea26a739efc (patch)
treeb3469cd013cfe62ecfb444262bacd707f269e0c6 /gdb/inferior.c
parentAdd remove-inferiors test (diff)
downloadbinutils-gdb-eb2332d78d4ef40a2696aa0f6c833ea26a739efc.tar.gz
binutils-gdb-eb2332d78d4ef40a2696aa0f6c833ea26a739efc.tar.bz2
binutils-gdb-eb2332d78d4ef40a2696aa0f6c833ea26a739efc.zip
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.
Diffstat (limited to 'gdb/inferior.c')
-rw-r--r--gdb/inferior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c
index 6507ae77db1..47d91c7037e 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -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;
}