aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-mi.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-08-12 13:46:06 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-09-27 14:58:57 -0400
commitbb3e9b6521a78b353850190283d26dcd0f21089b (patch)
tree156249cdf20cda7463f2be944764e4bb15a88f00 /gdb/python/py-mi.c
parentdfa9ee01a4e595033567119e48f54a56ccf97dbd (diff)
downloadbinutils-bb3e9b6521a78b353850190283d26dcd0f21089b.zip
binutils-bb3e9b6521a78b353850190283d26dcd0f21089b.tar.gz
binutils-bb3e9b6521a78b353850190283d26dcd0f21089b.tar.bz2
gdb/symtab: pass program space to lookup_symtab and iterate_over_symtabs
Make the current program space references bubble up. In collect_symtabs_from_filename, remove the calls to set_current_program_space and just pass the relevant pspaces. This appears safe to do, because nothing in the `collector` callback cares about the current pspace. Change-Id: I00a7ed484bfbe5264f01a6abf0d33b51de373cbb Reviewed-by: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'gdb/python/py-mi.c')
0 files changed, 0 insertions, 0 deletions