gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Feb 2012 13:27:04 +0000 (13:27 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Feb 2012 13:27:04 +0000 (13:27 +0000)
* linespec.c (decode_line_internal): Fix comment correctness.

gdb/ChangeLog
gdb/linespec.c

index ffe0946..ff74c51 100644 (file)
@@ -1,3 +1,7 @@
+2012-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linespec.c (decode_line_internal): Fix comment correctness.
+
 2012-02-09  Valery Khromov  <valery.khromov@gmail.com>
 
        PR gdb/12953
index 09d62e5..109c7d2 100644 (file)
@@ -903,7 +903,7 @@ decode_line_internal (struct linespec_state *self, char **argptr)
 
   /* Locate the end of the first half of the linespec.
      After the call, for instance, if the argptr string is "foo.c:123"
-     p will point at "123".  If there is only one part, like "foo", p
+     p will point at ":123".  If there is only one part, like "foo", p
      will point to "".  If this is a C++ name, like "A::B::foo", p will
      point to "::B::foo".  Argptr is not changed by this call.  */