PR cli/14392:
* cli/cli-cmds.c (list_command): Filter 'sals_end'.
This commit is contained in:
parent
f3c8a52ace
commit
4979d7f0a6
2 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue