aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorAdam Fedor <fedor@gnu.org>2002-10-14 02:12:04 +0000
committerAdam Fedor <fedor@gnu.org>2002-10-14 02:12:04 +0000
commit46c82446e12a01ebe719e9521e54dd7e4df4ec59 (patch)
tree8a70ebd8bb7999ed98a4c1593b0c51aa30ffa51a /gdb/source.c
parentd069f99d468405ae9e627a0112cdd06cd817eb5e (diff)
downloadgdb-46c82446e12a01ebe719e9521e54dd7e4df4ec59.zip
gdb-46c82446e12a01ebe719e9521e54dd7e4df4ec59.tar.gz
gdb-46c82446e12a01ebe719e9521e54dd7e4df4ec59.tar.bz2
source.c (print_source_lines): Update comments.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 5c88a55..d552878 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1197,8 +1197,9 @@ print_source_lines (struct symtab *s, int line, int stopline, int noerror)
/* Print a list of files and line numbers which a user may choose from
in order to list a function which was specified ambiguously (as with
- `list classname::overloadedfuncname', for example). The vector in
- SALS provides the filenames and line numbers. */
+ `list classname::overloadedfuncname', or 'list objectiveCSelector:).
+ The vector in SALS provides the filenames and line numbers.
+ NOTE: some of the SALS may have no filename or line information! */
static void
ambiguous_line_spec (struct symtabs_and_lines *sals)