forked from Imagelibrary/binutils-gdb
* 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user