aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-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/mips-tdep.c
parent5bbfd12ddaff56898d5791241cabd1a7b781a416 (diff)
downloadfsf-binutils-gdb-e165fcef1e79529442d6a5d8def71681c088cd18.zip
fsf-binutils-gdb-e165fcef1e79529442d6a5d8def71681c088cd18.tar.gz
fsf-binutils-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/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index ec95d54..f31dacd 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -435,12 +435,12 @@ mips_elf_make_msymbol_special (asymbol * sym, struct minimal_symbol *msym)
if (ELF_ST_IS_MICROMIPS (st_other))
{
- MSYMBOL_TARGET_FLAG_MICROMIPS (msym) = 1;
+ SET_MSYMBOL_TARGET_FLAG_MICROMIPS (msym);
msym->set_value_address (msym->value_raw_address () | 1);
}
else if (ELF_ST_IS_MIPS16 (st_other))
{
- MSYMBOL_TARGET_FLAG_MIPS16 (msym) = 1;
+ SET_MSYMBOL_TARGET_FLAG_MIPS16 (msym);
msym->set_value_address (msym->value_raw_address () | 1);
}
}