aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentd069f99d468405ae9e627a0112cdd06cd817eb5e (diff)
downloadgdb-46c82446e12a01ebe719e9521e54dd7e4df4ec59.zip
gdb-46c82446e12a01ebe719e9521e54dd7e4df4ec59.tar.gz
gdb-46c82446e12a01ebe719e9521e54dd7e4df4ec59.tar.bz2
source.c (print_source_lines): Update comments.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/source.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ace1c49..dec5a0e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-10-13 Adam Fedor <fedor@gnu.org>
+ * source.c (print_source_lines): Update comments.
+
+2002-10-13 Adam Fedor <fedor@gnu.org>
+
* valops.c (value_of_local): New function.
(value_of_this): Use it.
* value.h (value_of_local): Declared.
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)