Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/9] Cleanups in global_symbol_searcher
@ 2026-09-29 19:39 Simon Marchi
  2026-09-29 19:39 ` [PATCH 1/9] gdb: add symbol_search_kind enum for global_symbol_searcher Simon Marchi
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Simon Marchi @ 2026-09-29 19:39 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

I had a look at global_symbol_searcher while reviewing a recent patch,
and I had a bit of trouble understanding how it worked.  I made a few
changes to try to make it clearer.

Simon Marchi (9):
  gdb: add symbol_search_kind enum for global_symbol_searcher
  gdb: factor out regexp compilation from global_symbol_searcher::search
  gdb: simplify insertion in
    global_symbol_searcher::add_matching_symbols
  gdb: use a switch on m_kind in add_matching_symbols
  gdb: make global_symbol_searcher::is_suitable_msymbol non-static
  gdb: update comment of global_symbol_searcher::expand_symtabs
  gdb: add matching helpers to global_symbol_searcher
  gdb: pass result containers by reference in global_symbol_searcher
  gdb: fix some comments in global_symbol_searcher

 gdb/mi/mi-symbol-cmds.c |  36 ++--
 gdb/python/python.c     |   2 +-
 gdb/symtab.c            | 458 +++++++++++++++++++++++-----------------
 gdb/symtab.h            | 105 +++++----
 4 files changed, 348 insertions(+), 253 deletions(-)


base-commit: ccf0f68e72ea0a5628097b980a04e1a8262781df
-- 
2.55.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-09-29 19:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 19:39 [PATCH 0/9] Cleanups in global_symbol_searcher Simon Marchi
2026-09-29 19:39 ` [PATCH 1/9] gdb: add symbol_search_kind enum for global_symbol_searcher Simon Marchi
2026-09-29 19:39 ` [PATCH 2/9] gdb: factor out regexp compilation from global_symbol_searcher::search Simon Marchi
2026-09-29 19:39 ` [PATCH 3/9] gdb: simplify insertion in global_symbol_searcher::add_matching_symbols Simon Marchi
2026-09-29 19:39 ` [PATCH 4/9] gdb: use a switch on m_kind in add_matching_symbols Simon Marchi
2026-09-29 19:39 ` [PATCH 5/9] gdb: make global_symbol_searcher::is_suitable_msymbol non-static Simon Marchi
2026-09-29 19:39 ` [PATCH 6/9] gdb: update comment of global_symbol_searcher::expand_symtabs Simon Marchi
2026-09-29 19:39 ` [PATCH 7/9] gdb: add matching helpers to global_symbol_searcher Simon Marchi
2026-09-29 19:39 ` [PATCH 8/9] gdb: pass result containers by reference in global_symbol_searcher Simon Marchi
2026-09-29 19:39 ` [PATCH 9/9] gdb: fix some comments " Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox