aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-cmd-exception.py
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-09-29 09:31:59 -0600
committerTom Tromey <tom@tromey.com>2025-10-09 15:43:43 -0600
commitf8e7ce792fb3e7b30de60c11b5d155af01dad78c (patch)
tree778e50a078631dc3e18833480962cfe2503b7b5a /gdb/testsuite/gdb.python/py-cmd-exception.py
parenta736ff7d886dbcc85026264c3ce11c125a8409b2 (diff)
downloadbinutils-f8e7ce792fb3e7b30de60c11b5d155af01dad78c.zip
binutils-f8e7ce792fb3e7b30de60c11b5d155af01dad78c.tar.gz
binutils-f8e7ce792fb3e7b30de60c11b5d155af01dad78c.tar.bz2
Remove linespec.c:symtab_collector class
linespec.c has a symtab_collector class that is readily replaced by a lambda. I think the result is more clear. I considered using the unordered_dense 'extract' method as well, to make the code a bit more efficient -- but it wasn't clear to me if the ordering of the vector mattered, and so I've just added a comment. 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