]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Convert map_symbol_filenames to method
authorTom Tromey <tom@tromey.com>
Sat, 27 Sep 2025 21:11:13 +0000 (15:11 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 9 Oct 2025 21:29:23 +0000 (15:29 -0600)
commitfe2830c31ceb85ef14389c5d640d33f5ac5a89b0
tree7a6a212a7bf0620b43b868963862a2a15222b786
parentdb6830694b4b2d2bdcb5ceb928eeff3954c3b285
Convert map_symbol_filenames to method

This patch changes the free function map_symbol_filenames to be a
method of program_space.  This seems a bit cleaner, and also lets us
hoist a use of the global into the callers.

Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
gdb/progspace.c
gdb/progspace.h
gdb/symfile.c
gdb/symfile.h
gdb/symtab.c