From: Tom Tromey Date: Mon, 6 Aug 2012 18:33:57 +0000 (+0000) Subject: PR cli/14392: X-Git-Tag: gdb_7_5-2012-08-17-release~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8fcca8e5115c4960172a0469b72557499439925;p=thirdparty%2Fbinutils-gdb.git PR cli/14392: * cli/cli-cmds.c (list_command): Filter 'sals_end'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 86efe9fdcec..2104b5c32bb 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-03 Tom Tromey * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 24d55c38807..c905ca28dc4 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -961,7 +961,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)