This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. bb4142cf49651ddcb0e00f6aaf451272c4c9977d
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 15 Jan 2014 02:38:08 -0000
- Subject: gdb and binutils branch master updated. bb4142cf49651ddcb0e00f6aaf451272c4c9977d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via bb4142cf49651ddcb0e00f6aaf451272c4c9977d (commit)
from 206f2a5777679e6d1ad21ce435f6e7af92e2d41a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bb4142cf49651ddcb0e00f6aaf451272c4c9977d
commit bb4142cf49651ddcb0e00f6aaf451272c4c9977d
Author: Doug Evans <dje@google.com>
Date: Tue Jan 14 18:36:33 2014 -0800
psymtab cleanup patch 3/3
This last patch removes "partial" from the names of
expand_partial_symbol_names and map_partial_symbol_filenames.
It also renames expand_partial_symbol_names to match the
struct quick_symbol_functions "method" that it wraps:
expand_symtabs_matching.
This patch also adds two parameters to expand_symtabs_matching
so that it can fully wrap the underlying quick_symbol_functions method.
This makes it usable in more places.
I thought of having a cover function that still had the same
signature as the old expand_partial_symbol_names function,
but I couldn't think of a good name, and it wasn't clear it was
worth it anyway.
* symfile.h (expand_symtabs_matching): Renamed from
expand_partial_symbol_names. Update prototype.
(map_symbol_filenames): Renamed from map_partial_symbol_filenames.
* symfile.c (expand_symtabs_matching): Renamed from
expand_partial_symbol_names. New args file_matcher, kind.
Rename arg fun to symbol_matcher.
(map_symbol_filenames): Renamed from map_partial_symbol_filenames.
* ada-lang.c (ada_complete_symbol_matcher): Renamed from
ada_expand_partial_symbol_name.
(ada_make_symbol_completion_list): Update to call
expand_symtabs_matching.
(ada_add_global_exceptions): Call expand_symtabs_matching.
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
call map_symbol_filenames.
* symtab.c (sources_info): Update to call map_symbol_filenames.
(search_symbols): Call expand_symtabs_matching.
(symbol_completion_matcher): Renamed from expand_partial_symbol_name.
(default_make_symbol_completion_list_break_on): Update to call
expand_symtabs_matching.
(make_source_files_completion_list): Update to call
map_symbol_filenames.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 24 ++++++++++++++++++++++++
gdb/ada-lang.c | 17 ++++++++---------
gdb/mi/mi-cmd-file.c | 4 ++--
gdb/symfile.c | 15 +++++++++------
gdb/symfile.h | 9 +++++----
gdb/symtab.c | 33 ++++++++++++++-------------------
6 files changed, 62 insertions(+), 40 deletions(-)
hooks/post-receive
--
gdb and binutils