forked from Imagelibrary/binutils-gdb
Use domain_search_flags in lookup_symbol et al
This changes lookup_symbol and associated APIs to accept domain_search_flags rather than a domain_enum. Note that this introduces some new constants to Python and Guile. I chose to break out the documentation patch for this, because the internals here do not change until a later patch, and it seemed simpler to patch the docs just once, rather than twice.
This commit is contained in:
@@ -8831,7 +8831,7 @@ insert_exception_resume_breakpoint (struct thread_info *tp,
|
||||
struct breakpoint *bp;
|
||||
|
||||
vsym = lookup_symbol_search_name (sym->search_name (),
|
||||
b, VAR_DOMAIN);
|
||||
b, SEARCH_VAR_DOMAIN);
|
||||
value = read_var_value (vsym.symbol, vsym.block, frame);
|
||||
/* If the value was optimized out, revert to the old behavior. */
|
||||
if (! value->optimized_out ())
|
||||
|
||||
Reference in New Issue
Block a user