aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2015-01-31 14:48:29 -0800
committerDoug Evans <xdje42@gmail.com>2015-01-31 14:48:29 -0800
commite11c72c7e4879894b9711b5c0b8247c20c6050f6 (patch)
treefe9032b467b31808d0418f5f895eedfdc26917a7 /gdb/common
parent276d885b572b12221f639641846ab94ef9582995 (diff)
downloadgdb-e11c72c7e4879894b9711b5c0b8247c20c6050f6.zip
gdb-e11c72c7e4879894b9711b5c0b8247c20c6050f6.tar.gz
gdb-e11c72c7e4879894b9711b5c0b8247c20c6050f6.tar.bz2
Build list of completions as symbol tables are expanded.
This commit makes default_make_symbol_completion_list_break_on build the list of completions as it expands the necessary symbol tables, rather than expanding all necessary symbol tables first and then building the completion lists second. This allows for the early termination of symbol table expansion if required. gdb/ChangeLog: * symtab.c (struct add_name_data) <code>: New field. Updated comments. (add_symtab_completions): New function. (symtab_expansion_callback): Likewise. (default_make_symbol_completion_list_break_on): Set datum.code. Move minimal symbol scan before calling expand_symtabs_matching. Scan known primary symtabs for externs and statics before calling expand_symtabs_matching. Pass symtab_expansion_callback as expansion_notify argument to expand_symtabs_matching. Do not scan primary symtabs for externs and statics after calling expand_symtabs_matching.
Diffstat (limited to 'gdb/common')
0 files changed, 0 insertions, 0 deletions