diff options
author | Keith Seitz <keiths@redhat.com> | 2018-08-29 15:12:23 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2018-08-29 15:12:23 -0700 |
commit | fcaad03cc027ec2cdf7f2cff70d792867d43c57f (patch) | |
tree | 3e83fdb3af1743ba9b29fac1c0618aef012c3856 /gdb/testsuite/gdb.base/new-ui-echo.exp | |
parent | 7e41c8db84bc6f74843dda40ae443d41977c0d20 (diff) | |
download | gdb-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/testsuite/gdb.base/new-ui-echo.exp')
0 files changed, 0 insertions, 0 deletions