aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-10-26 17:12:33 +0000
committerDaniel Jacobowitz <drow@false.org>2002-10-26 17:12:33 +0000
commit6ef1bcec6069b5bcb4481998f3dedc5dbcc31921 (patch)
tree8bfd3851498d0dfbcbff9ede0e65e02442df6730 /gdb/source.c
parent5f6ea76b78320c21d11477709a8c733f47e46d8a (diff)
downloadgdb-6ef1bcec6069b5bcb4481998f3dedc5dbcc31921.zip
gdb-6ef1bcec6069b5bcb4481998f3dedc5dbcc31921.tar.gz
gdb-6ef1bcec6069b5bcb4481998f3dedc5dbcc31921.tar.bz2
Merge drow-cplus-merge-20021025 to drow-cplus-branch.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 5c88a55..0107bfa 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)
@@ -1220,7 +1221,7 @@ line_info (char *arg, int from_tty)
CORE_ADDR start_pc, end_pc;
int i;
- INIT_SAL (&sal); /* initialize to zeroes */
+ init_sal (&sal); /* initialize to zeroes */
if (arg == 0)
{