PR cli/14392:

* cli/cli-cmds.c (list_command): Filter 'sals_end'.
This commit is contained in:
Tom Tromey 2012-08-06 18:28:15 +00:00
parent f3c8a52ace
commit 4979d7f0a6
2 changed files with 6 additions and 1 deletions

View file

@ -959,7 +959,7 @@ list_command (char *arg, int from_tty)
else
sals_end = decode_line_1 (&arg1, DECODE_LINE_LIST_MODE,
sal.symtab, sal.line);
filter_sals (&sals);
filter_sals (&sals_end);
if (sals_end.nelts == 0)
return;
if (sals_end.nelts > 1)