diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-19 01:20:12 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-19 01:20:12 +0000 |
commit | c6f0559b48289f9b295ab3fac1bb5d78f88e5d91 (patch) | |
tree | b929e3257906fce9cfefc27afbe5ef43a05ec789 /gdb/source.c | |
parent | 8819f097a47d9f8ea0fb66fc4c54e8b202f81979 (diff) | |
download | gdb-c6f0559b48289f9b295ab3fac1bb5d78f88e5d91.zip gdb-c6f0559b48289f9b295ab3fac1bb5d78f88e5d91.tar.gz gdb-c6f0559b48289f9b295ab3fac1bb5d78f88e5d91.tar.bz2 |
2004-01-18 Andrew Cagney <cagney@redhat.com>
* remote-sds.c (tohex): Delete unused function. Update copyright.
* xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
* v850-tdep.c (v850_register_virtual_size): Ditto.
* target.c (normal_target_post_startup_inferior): Ditto.
* source.c (ambiguous_line_spec): Ditto.
* remote.c (adapt_remote_get_threadinfo): Ditto.
* mi/mi-out.c (out_field_fmt): Ditto.
* mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
(output_control_change_notification): Ditto.
* m68k-tdep.c (m68k_register_byte): Ditto.
(m68k_remote_breakpoint_from_pc): Ditto.
* ui-out.c (init_ui_out_state): Delete unused declaration.
* stabsread.c (search_value): Ditto.
* mi/mi-cmd-env.c (env_cli_command): Ditto.
* maint.c (print_section_table): Ditto.
* infrun.c (set_follow_fork_mode_command): Ditto.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/source.c b/gdb/source.c index c5f588a..6c0e213 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1232,22 +1232,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 |