aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-27 22:08:54 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-02-06 16:03:46 -0500
commit32177d6e39a2ed82fdafd7c41456c311b64d09fc (patch)
tree898327974f91be4366d3dd7806f6692364a7f85a /gdb/linespec.c
parentd9743061f92738a6c3f311d640e614a5a2f01b1e (diff)
downloadgdb-32177d6e39a2ed82fdafd7c41456c311b64d09fc.zip
gdb-32177d6e39a2ed82fdafd7c41456c311b64d09fc.tar.gz
gdb-32177d6e39a2ed82fdafd7c41456c311b64d09fc.tar.bz2
gdb: remove SYMBOL_INLINED macro
Add a getter and a setter for whether a symbol is inlined. Remove the corresponding macro and adjust all callers. Change-Id: I934468da3b5a32dd6b161a6f252a6b1b94737279
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index ac21bbd..7c40367 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1200,7 +1200,7 @@ iterate_over_all_matching_symtabs
{
/* Restrict calls to CALLBACK to symbols
representing inline symbols only. */
- if (SYMBOL_INLINED (bsym->symbol))
+ if (bsym->symbol->is_inlined ())
return callback (bsym);
return true;
});