* symfile.c (symbol_file_command): strcmp => !strcmp.

* breakpoint.h:  Move prototypes to follow enum definition they need.
* breakpoint.c, infrun.c:  Lint.
* printcmd.c:  Use `enum enable' rather than `enum
display_status'.
* mipsread.c:  First pass at making it compile with the new
objfile changes.  Probably seriously broken still, but it
compiles.  FIXME.
This commit is contained in:
John Gilmore
1992-02-22 10:04:50 +00:00
parent 93fe4e330e
commit 3531811073
2 changed files with 13 additions and 2 deletions

View File

@@ -585,11 +585,11 @@ symbol_file_command (args, from_tty)
name = *argv;
while (*++argv != NULL)
{
if (strcmp (*argv, "dumpable"))
if (!strcmp (*argv, "dumpable"))
{
dumpable = 1;
}
else if (strcmp (*argv, "readnow"))
else if (!strcmp (*argv, "readnow"))
{
readnow = 1;
}