diff options
author | John Gilmore <gnu@cygnus> | 1992-02-22 10:04:50 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-02-22 10:04:50 +0000 |
commit | 35318110730459b59a467e5b0a5d282b71df04cc (patch) | |
tree | bc4b9ff9047f81325b3d91b01d822ed8df33207e | |
parent | 93fe4e330ebd39ea1b061383fe3521deb961e93a (diff) | |
download | gdb-35318110730459b59a467e5b0a5d282b71df04cc.zip gdb-35318110730459b59a467e5b0a5d282b71df04cc.tar.gz gdb-35318110730459b59a467e5b0a5d282b71df04cc.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/symfile.c | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 16ab8de..8613868 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,14 @@ +Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com) + + * 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. + Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com) * infrun.c, infcmd.c, breakpoint.c, main.c, 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; } |