aboutsummaryrefslogtreecommitdiff
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
commit762f08a3976cceca00a4467cbc3eeae4d2edc3e4 (patch)
tree55e5879d12114e69579249ea78630705bd71df8d /gdb/cp-valprint.c
parenta84d24ee80d7a8bb646d9e2b4ae3bf5bb7ff7a8d (diff)
downloadgdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.zip
gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.gz
gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.bz2
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 f362d84..a2ccbdb 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;
}
}