aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 10:51:22 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-04-11 10:47:54 -0400
commite165fcef1e79529442d6a5d8def71681c088cd18 (patch)
tree04a54d159a5b232767bafc818c97c8d5b4dabfd8 /gdb/arm-tdep.c
parent5bbfd12ddaff56898d5791241cabd1a7b781a416 (diff)
downloadgdb-e165fcef1e79529442d6a5d8def71681c088cd18.zip
gdb-e165fcef1e79529442d6a5d8def71681c088cd18.tar.gz
gdb-e165fcef1e79529442d6a5d8def71681c088cd18.tar.bz2
gdb: remove MSYMBOL_TARGET_FLAG_{1,2} macros
Replace with equivalent getter/setter macros. Change-Id: I1042564dd47347337374762bd64ec31b5c573ee2
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 7002bca..cc77739 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -82,10 +82,10 @@ static bool arm_debug;
MSYMBOL_IS_SPECIAL Tests the "special" bit in a minimal symbol. */
#define MSYMBOL_SET_SPECIAL(msym) \
- MSYMBOL_TARGET_FLAG_1 (msym) = 1
+ (msym)->set_target_flag_1 (true)
#define MSYMBOL_IS_SPECIAL(msym) \
- MSYMBOL_TARGET_FLAG_1 (msym)
+ (msym)->target_flag_1 ()
struct arm_mapping_symbol
{