From: Jan Kratochvil Date: Fri, 10 Feb 2012 13:27:04 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e871429d8d1e00b7d0e5cfdf4675efd7564f0afb;p=binutils-gdb.git gdb/ * linespec.c (decode_line_internal): Fix comment correctness. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ffe0946a29d..ff74c510abd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-02-10 Jan Kratochvil + + * linespec.c (decode_line_internal): Fix comment correctness. + 2012-02-09 Valery Khromov PR gdb/12953 diff --git a/gdb/linespec.c b/gdb/linespec.c index 09d62e5154e..109c7d2157c 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -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. */