aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-11-21 22:03:07 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-02-06 16:03:46 -0500
commitba44b1a3e0bd6ec2e94e6d6c288786114b8a633c (patch)
tree20520b6490fca5bfd178d09894485f3868bc552f /gdb/jit.c
parent81e32b6a84c54031d31de6ebcf74a91b29d1498a (diff)
downloadgdb-ba44b1a3e0bd6ec2e94e6d6c288786114b8a633c.zip
gdb-ba44b1a3e0bd6ec2e94e6d6c288786114b8a633c.tar.gz
gdb-ba44b1a3e0bd6ec2e94e6d6c288786114b8a633c.tar.bz2
gdb: remove SYMBOL_ACLASS_INDEX macro, add getter/setter
Add a getter and a setter for a symbol's aclass index. Remove the corresponding macro and adjust all callers. Change-Id: Ie8c8d732624cfadb714aba5ddafa3d29409b3d39
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 9d844bf..8e7cc46 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -560,7 +560,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
/* The name. */
SYMBOL_DOMAIN (block_name) = VAR_DOMAIN;
- SYMBOL_ACLASS_INDEX (block_name) = LOC_BLOCK;
+ block_name->set_aclass_index (LOC_BLOCK);
symbol_set_symtab (block_name, filetab);
SYMBOL_TYPE (block_name) = lookup_function_type (block_type);
SYMBOL_BLOCK_VALUE (block_name) = new_block;