From 4979d7f0a6644db8a512fdf29a6a9df8d258969c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 6 Aug 2012 18:28:15 +0000 Subject: [PATCH] PR cli/14392: * cli/cli-cmds.c (list_command): Filter 'sals_end'. --- gdb/ChangeLog | 5 +++++ gdb/cli/cli-cmds.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09886104a9e..e36f729773c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-08-06 Tom Tromey + + PR cli/14392: + * cli/cli-cmds.c (list_command): Filter 'sals_end'. + 2012-08-06 Nathaniel Flath * NEWS: New entry for 'cd' default parameters. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index d9849caa394..6595d5bdcc0 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -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) -- 2.30.2