PR cli/14392:
authorTom Tromey <tromey@redhat.com>
Mon, 6 Aug 2012 18:28:15 +0000 (18:28 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 6 Aug 2012 18:28:15 +0000 (18:28 +0000)
* cli/cli-cmds.c (list_command): Filter 'sals_end'.

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

index 09886104a9e5fcc1857b45f550c9df44443d2067..e36f729773c84efe070b71ff88b4e3d73efb6bb7 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-06  Nathaniel Flath  <flat0103@gmail.com>
 
        * NEWS: New entry for 'cd' default parameters.
index d9849caa3941ac422e8c29873c63b42f5ca2d682..6595d5bdcc0ab3baabe21f4ac1c50db0965e8d23 100644 (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)
This page took 0.029969 seconds and 4 git commands to generate.