mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
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>
This commit is contained in:
committed by
Simon Marchi
parent
2e7c4d0fe5
commit
cb9f919f0f
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user