diff options
author | Tom Tromey <tom@tromey.com> | 2023-03-30 23:00:26 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-28 10:58:16 -0700 |
commit | ccf41c248737eb6650211481366c4e1156ce01ae (patch) | |
tree | 55933f48a150085e0df7728b4f82047977559a88 /gdb/stack.c | |
parent | 6c0152149476085e6c4c5c812bfc3a06fff7c938 (diff) | |
download | binutils-ccf41c248737eb6650211481366c4e1156ce01ae.zip binutils-ccf41c248737eb6650211481366c4e1156ce01ae.tar.gz binutils-ccf41c248737eb6650211481366c4e1156ce01ae.tar.bz2 |
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.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 31b8934..bf31583 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -817,7 +817,7 @@ print_frame_args (const frame_print_options &fp_opts, struct symbol *nsym; nsym = lookup_symbol_search_name (sym->search_name (), - b, VAR_DOMAIN).symbol; + b, SEARCH_VAR_DOMAIN).symbol; gdb_assert (nsym != NULL); if (nsym->aclass () == LOC_REGISTER && !nsym->is_argument ()) @@ -2485,7 +2485,7 @@ iterate_over_block_arg_vars (const struct block *b, struct symbol *sym2 = lookup_symbol_search_name (sym->search_name (), - b, VAR_DOMAIN).symbol; + b, SEARCH_VAR_DOMAIN).symbol; cb (sym->print_name (), sym2); } } |