aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-02-10 13:27:04 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-02-10 13:27:04 +0000
commite871429d8d1e00b7d0e5cfdf4675efd7564f0afb (patch)
tree68087225a1bbcd88b0157dda16ee142b0c5050d6 /gdb/linespec.c
parentfb4914b0e6e9d5fd99e4f5f3214591bf29da24cb (diff)
downloadgdb-e871429d8d1e00b7d0e5cfdf4675efd7564f0afb.zip
gdb-e871429d8d1e00b7d0e5cfdf4675efd7564f0afb.tar.gz
gdb-e871429d8d1e00b7d0e5cfdf4675efd7564f0afb.tar.bz2
gdb/
* linespec.c (decode_line_internal): Fix comment correctness.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 09d62e5..109c7d2 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. */