aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-23 19:24:05 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-23 19:24:05 +0000
commit66c5728963bf98343883dc40b3988bf41b702f4c (patch)
tree51cf39c6d4632737119c46d408923dd779400328 /gdb/symfile.c
parent4d9eda44f593f5a8d1cd59f76f127d31290a26d4 (diff)
downloadgdb-66c5728963bf98343883dc40b3988bf41b702f4c.zip
gdb-66c5728963bf98343883dc40b3988bf41b702f4c.tar.gz
gdb-66c5728963bf98343883dc40b3988bf41b702f4c.tar.bz2
2003-11-23 Andrew Cagney <cagney@redhat.com>
* symfile.c (symbol_file_command): Replace STREQ with strcmp. * elfread.c (elf_symtab_read): Delete STREQ from comment.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index d85ec19..e940003 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1226,7 +1226,7 @@ symbol_file_command (char *args, int from_tty)
if (strcmp (*argv, "-mapped") == 0)
flags |= OBJF_MAPPED;
else
- if (STREQ (*argv, "-readnow"))
+ if (strcmp (*argv, "-readnow") == 0)
flags |= OBJF_READNOW;
else
if (**argv == '-')