automatic C++ demangling for mangled field names.
ptrace().
* cadillac.c (kernel_dispatch): Make return type void.
* cadillac.c (iosig): Signal handlers take one int arg.
ptrace().
* cadillac.c (kernel_dispatch): Make return type void.
* cadillac.c (iosig): Signal handlers take one int arg.
+ * valprint.c (val_print_fields): Call fprint_symbol to get
+ automatic C++ demangling for mangled field names.
Mon Jun 22 20:18:06 1992 Fred Fish (fnf@cygnus.com)
Mon Jun 22 20:18:06 1992 Fred Fish (fnf@cygnus.com)
fputs_filtered ("\"( ptr \"", stream);
else
fputs_filtered ("\"( nodef \"", stream);
fputs_filtered ("\"( ptr \"", stream);
else
fputs_filtered ("\"( nodef \"", stream);
- fputs_filtered (TYPE_FIELD_NAME (type, i), stream);
+ fprint_symbol (stream, TYPE_FIELD_NAME (type, i));
fputs_filtered ("\" \"", stream);
fputs_filtered ("\" \"", stream);
- fputs_filtered (TYPE_FIELD_NAME (type, i), stream);
+ fprint_symbol (stream, TYPE_FIELD_NAME (type, i));
fputs_filtered ("\") \"", stream);
}
else
{
fputs_filtered ("\") \"", stream);
}
else
{
- fputs_filtered (TYPE_FIELD_NAME (type, i), stream);
+ fprint_symbol (stream, TYPE_FIELD_NAME (type, i));
fputs_filtered (" = ", stream);
}
if (TYPE_FIELD_PACKED (type, i))
fputs_filtered (" = ", stream);
}
if (TYPE_FIELD_PACKED (type, i))