]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR cli/14392:
authorTom Tromey <tromey@redhat.com>
Mon, 6 Aug 2012 18:33:57 +0000 (18:33 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 6 Aug 2012 18:33:57 +0000 (18:33 +0000)
* cli/cli-cmds.c (list_command): Filter 'sals_end'.

gdb/ChangeLog
gdb/cli/cli-cmds.c

index 86efe9fdcec6f0399bff92b2afcf112e87ba2c07..2104b5c32bb922da09ff236779737de452533408 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-06  Tom Tromey  <tromey@redhat.com>
+
+       PR cli/14392:
+       * cli/cli-cmds.c (list_command): Filter 'sals_end'.
+
 2012-08-03  Tom Tromey  <tromey@redhat.com>
 
        * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
index 24d55c388073b428511863297c9387c201fc7a23..c905ca28dc4fb9d2120134d85847b42fd8a2fb67 100644 (file)
@@ -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)