aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-sde-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-sde-tdep.c')
-rw-r--r--gdb/mips-sde-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-sde-tdep.c b/gdb/mips-sde-tdep.c
index eb171bf..0246b27 100644
--- a/gdb/mips-sde-tdep.c
+++ b/gdb/mips-sde-tdep.c
@@ -212,7 +212,7 @@ mips_sde_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect,
/* The presence of a section with a ".sde" prefix is indicative
of an SDE binary. */
- if (strncmp (name, ".sde", 4) == 0)
+ if (startswith (name, ".sde"))
*os_ident_ptr = GDB_OSABI_SDE;
}