diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index d85ec19128e..e94000321a6 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 == '-') |