aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-objfile-script-gdb.py
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-30 08:41:17 -0600
committerTom Tromey <tom@tromey.com>2023-09-07 12:24:21 -0600
commitb7a92724c5bd926e094ede860049c1067f0584cf (patch)
tree10c7ff4050bc9e86896692ae4bf733f56ecd0316 /gdb/testsuite/gdb.python/py-objfile-script-gdb.py
parentdef2803789208a617c429b5dcf2026decb25ce0c (diff)
downloadbinutils-b7a92724c5bd926e094ede860049c1067f0584cf.zip
binutils-b7a92724c5bd926e094ede860049c1067f0584cf.tar.gz
binutils-b7a92724c5bd926e094ede860049c1067f0584cf.tar.bz2
Simplify block_find_symbol
block_find_symbol takes a callback function, but only two callbacks are ever passed to it -- and they are similar enough that it seems cleaner to just have block_find_symbol do the work itself. Also, block_find_symbol can take a lookup_name_info as an argument, following the general idea of pushing the construction of these objects as high in the call chain as feasible. Regression tested on x86-64 Fedora 38. Tested-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-objfile-script-gdb.py')
0 files changed, 0 insertions, 0 deletions