diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-09 18:30:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-09 18:30:32 +0000 |
commit | bde581776ee3d20d2fcd52c8bbc943abf3e4ca89 (patch) | |
tree | 41dc7ca131dd119fd185924cf9d084386e7908a0 /gdb/corefile.c | |
parent | 4ef3f3be7ae2203142ecf69debf476b3545c7653 (diff) | |
download | binutils-gdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.tar.gz |
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* somsolib.h: Fix function indentation.
* disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
* gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
* demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
* alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
* somsolib.c, inftarg.c: Remove assignment in if conditional.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r-- | gdb/corefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c index be0ecf0e3b0..b5256569a1e 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -439,7 +439,7 @@ static void set_gnutarget_command (char *, int, struct cmd_list_element *); static void set_gnutarget_command (char *ignore, int from_tty, struct cmd_list_element *c) { - if (STREQ (gnutarget_string, "auto")) + if (strcmp (gnutarget_string, "auto") == 0) gnutarget = NULL; else gnutarget = gnutarget_string; |