aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-namespace.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2018-08-29 15:12:23 -0700
committerKeith Seitz <keiths@redhat.com>2018-08-29 15:12:23 -0700
commitfcaad03cc027ec2cdf7f2cff70d792867d43c57f (patch)
tree3e83fdb3af1743ba9b29fac1c0618aef012c3856 /gdb/d-namespace.c
parent7e41c8db84bc6f74843dda40ae443d41977c0d20 (diff)
downloadgdb-fcaad03cc027ec2cdf7f2cff70d792867d43c57f.zip
gdb-fcaad03cc027ec2cdf7f2cff70d792867d43c57f.tar.gz
gdb-fcaad03cc027ec2cdf7f2cff70d792867d43c57f.tar.bz2
Add new search_symbols_multiple API
This patch adds a new symbol searching API based on linespec.c's parser implementation. This allows users to find "all* matching symbols instead of the first found match (a la lookup_symbol). gdb/ChangeLog: * linespec.c (collect_info::add_symbol): Make virtual. (struct symbol_searcher_collect_info): New struct. (symbol_searcher::find_all_symbols): New method. * symtab.h (class symbol_searcher): New class.
Diffstat (limited to 'gdb/d-namespace.c')
0 files changed, 0 insertions, 0 deletions