]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: add program_space parameter to lookup_minimal_symbol
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 17 Jul 2024 03:52:02 +0000 (23:52 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 12 Aug 2024 14:31:09 +0000 (10:31 -0400)
commit4144d36a68bda0f20c02e6a4444052b44a462155
tree35f30b63534a727ff1ce4cb2d7e3f406f0ced154
parent8d2f4b7c3168f79fdef3e50163c91cca43da1381
gdb: add program_space parameter to lookup_minimal_symbol

>From what I can see, lookup_minimal_symbol doesn't have any dependencies
on the global current state other than the single reference to
current_program_space.  Add a program_space parameter and make that
current_program_space reference bubble up one level.

Change-Id: I759415e2f9c74c9627a2fe05bd44eb4147eee6fe
Reviewed-by: Keith Seitz <keiths@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
66 files changed:
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/aix-thread.c
gdb/arc-linux-tdep.c
gdb/arm-tdep.c
gdb/auxv.c
gdb/avr-tdep.c
gdb/ax-gdb.c
gdb/breakpoint.c
gdb/bsd-uthread.c
gdb/c-exp.y
gdb/coff-pe-read.c
gdb/coffread.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-cplus-symbols.c
gdb/compile/compile-object-load.c
gdb/ctfread.c
gdb/d-exp.y
gdb/d-lang.c
gdb/dbxread.c
gdb/dwarf2/loc.c
gdb/elfread.c
gdb/eval.c
gdb/fbsd-tdep.c
gdb/findvar.c
gdb/frame.c
gdb/frv-tdep.c
gdb/ft32-tdep.c
gdb/gcore.c
gdb/glibc-tdep.c
gdb/gnu-v3-abi.c
gdb/go-exp.y
gdb/go-lang.c
gdb/hppa-tdep.c
gdb/linux-fork.c
gdb/linux-thread-db.c
gdb/m32c-tdep.c
gdb/m32r-tdep.c
gdb/m68hc11-tdep.c
gdb/machoread.c
gdb/minsyms.c
gdb/minsyms.h
gdb/mips-fbsd-tdep.c
gdb/mips-linux-tdep.c
gdb/netbsd-tdep.c
gdb/objc-lang.c
gdb/obsd-tdep.c
gdb/p-exp.y
gdb/p-lang.c
gdb/parse.c
gdb/ppc-sysv-tdep.c
gdb/printcmd.c
gdb/proc-service.c
gdb/ravenscar-thread.c
gdb/remote.c
gdb/sol-thread.c
gdb/sol2-tdep.c
gdb/solib-dsbt.c
gdb/solib-frv.c
gdb/solib-svr4.c
gdb/symfile.c
gdb/tracepoint.c
gdb/tui/tui-disasm.c
gdb/valops.c
gdb/value.c
gdb/z80-tdep.c