aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.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/block.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/block.c')
-rw-r--r--gdb/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/block.c b/gdb/block.c
index f753212..3d11ea6 100644
--- a/gdb/block.c
+++ b/gdb/block.c
@@ -124,7 +124,7 @@ block_containing_function (const struct block *bl)
int
block_inlined_p (const struct block *bl)
{
- return BLOCK_FUNCTION (bl) != NULL && SYMBOL_INLINED (BLOCK_FUNCTION (bl));
+ return BLOCK_FUNCTION (bl) != NULL && BLOCK_FUNCTION (bl)->is_inlined ();
}
/* A helper function that checks whether PC is in the blockvector BL.