gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 4 Mar 2013 19:38:02 +0000 (19:38 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 4 Mar 2013 19:38:02 +0000 (19:38 +0000)
* linespec.c (decode_line_2): Fix duplicate request off by two message.

gdb/ChangeLog
gdb/linespec.c

index f30826f..fab6ff9 100644 (file)
@@ -1,5 +1,9 @@
 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
+       * linespec.c (decode_line_2): Fix duplicate request off by two message.
+
+2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
        * linespec.c (struct linespec_canonical_name): New.
        (struct linespec_state): Change canonical_names type to it.
        (add_sal_to_sals): Change variable canonical_name to canonical.  Change
index 01f5e0a..7ed823e 100644 (file)
@@ -1461,7 +1461,7 @@ decode_line_2 (struct linespec_state *self,
          else
            {
              printf_unfiltered (_("duplicate request for %d ignored.\n"),
-                                num);
+                                num + 2);
            }
        }
     }