diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-08-17 16:02:27 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2016-08-17 16:02:27 -0400 |
commit | eb2332d78d4ef40a2696aa0f6c833ea26a739efc (patch) | |
tree | b3469cd013cfe62ecfb444262bacd707f269e0c6 /gdb/inferior.c | |
parent | Add remove-inferiors test (diff) | |
download | binutils-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.c | 2 |
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; } |