aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68hc11-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/m68hc11-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/m68hc11-tdep.c')
-rw-r--r--gdb/m68hc11-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index e82b18a..98f1367 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -58,16 +58,16 @@
MSYMBOL_IS_RTI Tests the "RTC" bit in a minimal symbol. */
#define MSYMBOL_SET_RTC(msym) \
- MSYMBOL_TARGET_FLAG_1 (msym) = 1
+ (msym)->set_target_flag_1 (true)
#define MSYMBOL_SET_RTI(msym) \
- MSYMBOL_TARGET_FLAG_2 (msym) = 1
+ (msym)->set_target_flag_2 (true)
#define MSYMBOL_IS_RTC(msym) \
- MSYMBOL_TARGET_FLAG_1 (msym)
+ (msym)->target_flag_1 ()
#define MSYMBOL_IS_RTI(msym) \
- MSYMBOL_TARGET_FLAG_2 (msym)
+ (msym)->target_flag_2 ()
enum insn_return_kind {
RETURN_RTS,