This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] linespec.c: Comment fix


Hi,

besides reading code I have also verified the variable value at runtime.

Checked in.


Thanks,
Jan


http://sourceware.org/ml/gdb-cvs/2012-02/msg00055.html

--- src/gdb/ChangeLog	2012/02/09 16:06:37	1.13819
+++ src/gdb/ChangeLog	2012/02/10 13:26:59	1.13820
@@ -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
--- src/gdb/linespec.c	2012/02/08 19:54:37	1.149
+++ src/gdb/linespec.c	2012/02/10 13:27:04	1.150
@@ -903,7 +903,7 @@
 
   /* 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.  */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]