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/demangle.c | |
parent | 4ef3f3be7ae2203142ecf69debf476b3545c7653 (diff) | |
download | gdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.zip gdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.tar.gz gdb-bde581776ee3d20d2fcd52c8bbc943abf3e4ca89.tar.bz2 |
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/demangle.c')
-rw-r--r-- | gdb/demangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c index 2b9579b..3df9684 100644 --- a/gdb/demangle.c +++ b/gdb/demangle.c @@ -87,8 +87,8 @@ set_demangling_command (char *ignore, int from_tty, struct cmd_list_element *c) dem->demangling_style != unknown_demangling; dem++) { - if (STREQ (current_demangling_style_string, - dem->demangling_style_name)) + if (strcmp (current_demangling_style_string, + dem->demangling_style_name) == 0) { current_demangling_style = dem->demangling_style; break; |