aboutsummaryrefslogtreecommitdiff
path: root/gdb/i960-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i960-tdep.c')
-rw-r--r--gdb/i960-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i960-tdep.c b/gdb/i960-tdep.c
index 115bfe2..7ab0661 100644
--- a/gdb/i960-tdep.c
+++ b/gdb/i960-tdep.c
@@ -472,7 +472,7 @@ leafproc_return (ip)
if ((msymbol = lookup_minimal_symbol_by_pc (ip)) != NULL)
{
- if ((p = index (msymbol -> name, '.')) && !strcmp (p, ".lf"))
+ if ((p = index (msymbol -> name, '.')) && STREQ (p, ".lf"))
{
if (next_insn (msymbol -> address, &insn1, &insn2)
&& (insn1 & 0xff87ffff) == 0x5c80161e /* mov g14, gx */