From 35318110730459b59a467e5b0a5d282b71df04cc Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sat, 22 Feb 1992 10:04:50 +0000 Subject: * 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. --- gdb/symfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index 03f40ce..450856a 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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; } -- cgit v1.1