aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYing Huang <ying.huang@oss.cipunited.com>2023-11-15 10:30:48 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-11-16 10:21:51 +0800
commit66cf42940aacbece5cca84792656b87a0638e551 (patch)
treec0df0e3d800ac055cf16db94620932493f41e02f /gdb
parent5391e967b0386235b36656c77e1a3f898ab4f39d (diff)
downloadfsf-binutils-gdb-66cf42940aacbece5cca84792656b87a0638e551.zip
fsf-binutils-gdb-66cf42940aacbece5cca84792656b87a0638e551.tar.gz
fsf-binutils-gdb-66cf42940aacbece5cca84792656b87a0638e551.tar.bz2
gdb: mips: Change E_MIPS_* to EF_MIPS_*
According to we have changed all E_MIPS_* to EF_MIPS_* in binutils and glibc, we also need to change it here to keep same style. We can refer to this commit record: https://sourceware.org/pipermail/binutils/2023-October/129904.html Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/mips-tdep.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index d40d28e..066c7c8 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -8109,16 +8109,16 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Check ELF_FLAGS to see if it specifies the ABI being used. */
switch ((elf_flags & EF_MIPS_ABI))
{
- case E_MIPS_ABI_O32:
+ case EF_MIPS_ABI_O32:
found_abi = MIPS_ABI_O32;
break;
- case E_MIPS_ABI_O64:
+ case EF_MIPS_ABI_O64:
found_abi = MIPS_ABI_O64;
break;
- case E_MIPS_ABI_EABI32:
+ case EF_MIPS_ABI_EABI32:
found_abi = MIPS_ABI_EABI32;
break;
- case E_MIPS_ABI_EABI64:
+ case EF_MIPS_ABI_EABI64:
found_abi = MIPS_ABI_EABI64;
break;
default:
@@ -8924,16 +8924,16 @@ mips_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
/* Determine the ISA. */
switch (tdep->elf_flags & EF_MIPS_ARCH)
{
- case E_MIPS_ARCH_1:
+ case EF_MIPS_ARCH_1:
ef_mips_arch = 1;
break;
- case E_MIPS_ARCH_2:
+ case EF_MIPS_ARCH_2:
ef_mips_arch = 2;
break;
- case E_MIPS_ARCH_3:
+ case EF_MIPS_ARCH_3:
ef_mips_arch = 3;
break;
- case E_MIPS_ARCH_4:
+ case EF_MIPS_ARCH_4:
ef_mips_arch = 4;
break;
default: