summaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-17 19:12:19 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-17 19:12:19 +0000
commit8049b2f92a1f04af34073bbcb5f13af7d3bb0e89 (patch)
tree3f4811dec1609d848d2d92e3328a6f234339b6c8 /gdb/cp-valprint.c
parent95939854561e6c187e368f6a8f977bcc2514c231 (diff)
downloadgdb-8049b2f92a1f04af34073bbcb5f13af7d3bb0e89.tar.gz
2003-01-17 Andrew Cagney <ac131313@redhat.com>
* main.c (captured_main): Don't use PTR. * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. * gdbtypes.c (lookup_primitive_typename): Ditto. (lookup_struct_elt_type): Ditto. * f-valprint.c (info_common_command): Ditto. (list_all_visible_commons): Ditto. * jv-typeprint.c (java_type_print_base): Ditto.
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index f362d847536..a2ccbdbf77c 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -130,7 +130,8 @@ cp_print_class_method (char *valaddr,
check_stub_method_group (domain, i);
for (j = 0; j < len2; j++)
{
- if (STREQ (SYMBOL_NAME (sym), TYPE_FN_FIELD_PHYSNAME (f, j)))
+ if (strcmp (SYMBOL_NAME (sym), TYPE_FN_FIELD_PHYSNAME (f, j))
+ == 0)
goto common;
}
}