aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-linux-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-09 18:30:32 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-09 18:30:32 +0000
commitbde581776ee3d20d2fcd52c8bbc943abf3e4ca89 (patch)
tree41dc7ca131dd119fd185924cf9d084386e7908a0 /gdb/x86-64-linux-tdep.c
parent4ef3f3be7ae2203142ecf69debf476b3545c7653 (diff)
downloadgdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.zip
gdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.tar.gz
gdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.tar.bz2
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* somsolib.h: Fix function indentation. * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. * somsolib.c, inftarg.c: Remove assignment in if conditional.
Diffstat (limited to 'gdb/x86-64-linux-tdep.c')
-rw-r--r--gdb/x86-64-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/x86-64-linux-tdep.c b/gdb/x86-64-linux-tdep.c
index bb127e0..c593abe 100644
--- a/gdb/x86-64-linux-tdep.c
+++ b/gdb/x86-64-linux-tdep.c
@@ -147,7 +147,7 @@ int
x86_64_linux_in_sigtramp (CORE_ADDR pc, char *name)
{
if (name)
- return STREQ ("__restore_rt", name);
+ return strcmp ("__restore_rt", name) == 0;
return (x86_64_linux_sigtramp_start (pc) != 0);
}