diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-17 19:12:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-17 19:12:19 +0000 |
commit | 762f08a3976cceca00a4467cbc3eeae4d2edc3e4 (patch) | |
tree | 55e5879d12114e69579249ea78630705bd71df8d /gdb/jv-typeprint.c | |
parent | a84d24ee80d7a8bb646d9e2b4ae3bf5bb7ff7a8d (diff) | |
download | fsf-binutils-gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.zip fsf-binutils-gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.gz fsf-binutils-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/jv-typeprint.c')
-rw-r--r-- | gdb/jv-typeprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-typeprint.c b/gdb/jv-typeprint.c index 893082c..b6dac57 100644 --- a/gdb/jv-typeprint.c +++ b/gdb/jv-typeprint.c @@ -216,7 +216,7 @@ java_type_print_base (struct type *type, struct ui_file *stream, int show, n_overloads = TYPE_FN_FIELDLIST_LENGTH (type, i); method_name = TYPE_FN_FIELDLIST_NAME (type, i); name = type_name_no_tag (type); - is_constructor = name && STREQ (method_name, name); + is_constructor = name && strcmp (method_name, name) == 0; for (j = 0; j < n_overloads; j++) { |