+2002-11-01 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbtypes.c (get_destructor_fn_field): Return obvious destructors
+ based on method name.
+
2002-10-30 Daniel Jacobowitz <drow@mvista.com>
* c-typeprint.c (c_type_print_modifier_before): New function.
int j;
struct fn_field *f = TYPE_FN_FIELDLIST1 (t, i);
+ if (TYPE_FN_FIELDLIST_NAME (t, i)[0] == '~')
+ {
+ *method_indexp = i;
+ *field_indexp = 0;
+ return 1;
+ }
+
for (j = 0; j < TYPE_FN_FIELDLIST_LENGTH (t, i); j++)
{
if (is_destructor_name (TYPE_FN_FIELD_PHYSNAME (f, j)) != 0)