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 | cf0396f62d4a996a788bf15632d59f46476da6b5 (patch) | |
tree | 13d17da3bdffb70ad993bc6cfef63cb37d879a0a /gdb/gnu-v2-abi.c | |
parent | c27bdee1cd22bf097ccf987f2b13d6e70c2759b8 (diff) | |
download | gdb-cf0396f62d4a996a788bf15632d59f46476da6b5.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/gnu-v2-abi.c')
-rw-r--r-- | gdb/gnu-v2-abi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index fb31c44529f..8ac78111fe2 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -329,8 +329,8 @@ vb_match (struct type *type, int index, struct type *basetype) if (TYPE_NAME (basetype) != NULL && TYPE_NAME (TYPE_TARGET_TYPE (fieldtype)) != NULL - && STREQ (TYPE_NAME (basetype), - TYPE_NAME (TYPE_TARGET_TYPE (fieldtype)))) + && strcmp (TYPE_NAME (basetype), + TYPE_NAME (TYPE_TARGET_TYPE (fieldtype))) == 0) return 1; return 0; } |