diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-09 19:44:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-09 19:44:05 +0000 |
commit | b16efb7139c2d634545931fd432ffa75d67b8877 (patch) | |
tree | cdf18650d49615f9dc052748760de608a816594c /gdb/source.c | |
parent | 3e8231d1e8fb374255409496f05fc18bf0d3b706 (diff) | |
download | binutils-b16efb7139c2d634545931fd432ffa75d67b8877.zip binutils-b16efb7139c2d634545931fd432ffa75d67b8877.tar.gz binutils-b16efb7139c2d634545931fd432ffa75d67b8877.tar.bz2 |
Merge drow-cplus-merge-20040208 to drow-cplus-branch.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/source.c b/gdb/source.c index c5f588a..ba2dc06 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -80,8 +80,6 @@ static void forward_search_command (char *, int); static void line_info (char *, int); -static void ambiguous_line_spec (struct symtabs_and_lines *); - static void source_info (char *, int); static void show_directories (char *, int); @@ -1232,22 +1230,6 @@ print_source_lines (struct symtab *s, int line, int stopline, int noerror) print_source_lines_base (s, line, stopline, 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', 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) -{ - int i; - - for (i = 0; i < sals->nelts; ++i) - printf_filtered ("file: \"%s\", line number: %d\n", - sals->sals[i].symtab->filename, sals->sals[i].line); -} - /* Print info on range of pc's in a specified line. */ static void |