diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-20 21:54:11 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 652099717dbb767c9d3eaed4c533486dd99d5e5b (patch) | |
tree | 1165879a9bb9e6d433559addb0e492e602d7c4c5 /gdb/linespec.c | |
parent | 012cfab919e7da355b2ac7f86674211cbce26041 (diff) | |
download | gdb-652099717dbb767c9d3eaed4c533486dd99d5e5b.zip gdb-652099717dbb767c9d3eaed4c533486dd99d5e5b.tar.gz gdb-652099717dbb767c9d3eaed4c533486dd99d5e5b.tar.bz2 |
gdb: remove SYMTAB_OBJFILE macro
Remove the macro, replace with an equivalent method.
Change-Id: I8f9ecd290ad28502e53c1ceca5006ba78bf042eb
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index 31e3b36..c4edc0d 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -4323,10 +4323,10 @@ search_minsyms_for_name (struct collect_info *info, { set_current_program_space (SYMTAB_PSPACE (symtab)); iterate_over_minimal_symbols - (SYMTAB_OBJFILE (symtab), name, + (symtab->objfile (), name, [&] (struct minimal_symbol *msym) { - add_minsym (msym, SYMTAB_OBJFILE (symtab), symtab, + add_minsym (msym, symtab->objfile (), symtab, info->state->list_mode, &minsyms); return false; }); |