aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/alpha-osf1-tdep.c')
-rw-r--r--gdb/alpha-osf1-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-osf1-tdep.c b/gdb/alpha-osf1-tdep.c
index 9a027d45b5c..fa5bc5e41d0 100644
--- a/gdb/alpha-osf1-tdep.c
+++ b/gdb/alpha-osf1-tdep.c
@@ -42,7 +42,7 @@ alpha_osf1_skip_sigtramp_frame (struct frame_info *frame, CORE_ADDR pc)
static int
alpha_osf1_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
{
- return (func_name != NULL && STREQ ("__sigtramp", func_name));
+ return (func_name != NULL && strcmp ("__sigtramp", func_name) == 0);
}
static CORE_ADDR