mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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.
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user