aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-cmd-exception.py
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-09-27 22:29:24 -0600
committerTom Tromey <tom@tromey.com>2025-10-09 15:32:02 -0600
commita736ff7d886dbcc85026264c3ce11c125a8409b2 (patch)
tree515c72957da1034c499f12c97c971f5bdc2b69e7 /gdb/testsuite/gdb.python/py-cmd-exception.py
parent7d06ed71b84985102ed3a054884f1f6accec883f (diff)
downloadbinutils-a736ff7d886dbcc85026264c3ce11c125a8409b2.zip
binutils-a736ff7d886dbcc85026264c3ce11c125a8409b2.tar.gz
binutils-a736ff7d886dbcc85026264c3ce11c125a8409b2.tar.bz2
Clean up iterate_over_symtabs
After the "search via psyms" series, there's no need for iterate_over_symtabs to first check the expanded symtabs -- the callback will now be called for every relevant symtab, including ones that were already expanded before the search. Cleaning this up enables some other cleanups. In particular, iterate_over_some_symtabs is not needed in its current form, so here I've renamed it, made it static, and made it search just a single compunit symtab. While there I cleaned up the "invert" logic in objfile::map_symtabs_matching_filename. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30738 Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions