diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-07-16 23:52:05 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-08-12 10:38:29 -0400 |
commit | cb9f919f0f4b7f30023f353a8fd16979f8ace99a (patch) | |
tree | 8b426f7371e41be10c8388a42c442d5a637c7363 /gdb/jit.c | |
parent | 2e7c4d0fe5b7d28af9c6ba94e76c42fe8ca08eb7 (diff) | |
download | binutils-cb9f919f0f4b7f30023f353a8fd16979f8ace99a.zip binutils-cb9f919f0f4b7f30023f353a8fd16979f8ace99a.tar.gz binutils-cb9f919f0f4b7f30023f353a8fd16979f8ace99a.tar.bz2 |
gdb: add program_space parameter to lookup_minimal_symbol_text
Make the current program space reference bubble up one level. Use a
program space from the context whenever that makes sense.
Change-Id: Id3b0bf4490178d71a9aecdbf404b9287c22b30f5
Reviewed-by: Keith Seitz <keiths@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -880,7 +880,7 @@ jit_breakpoint_re_set_internal (struct gdbarch *gdbarch, program_space *pspace) /* Lookup the registration symbol. If it is missing, then we assume we are not attached to a JIT. */ bound_minimal_symbol reg_symbol - = lookup_minimal_symbol_text (jit_break_name, the_objfile); + = lookup_minimal_symbol_text (pspace, jit_break_name, the_objfile); if (reg_symbol.minsym == NULL || reg_symbol.value_address () == 0) { |