[PATCH RFC] Fix ptype behavior for structs

Andrew Cagney ac131313@redhat.com
Mon Oct 21 18:08:00 GMT 2002


> Looks good to me.  I agree with you that the #if 0'd code in
> print_symbol_info should be done a different way.

So it gets deleted?

Andrew

>> #if 0
>>       /* Tiemann says: "info methods was never implemented."  */
>>       char *demangled_name;
>>       c_type_print_base (TYPE_FN_FIELD_TYPE (t, block),
>> 			 gdb_stdout, 0, 0);
>>       c_type_print_varspec_prefix (TYPE_FN_FIELD_TYPE (t, block),
>> 				   gdb_stdout, 0);
>>       ...
>> #endif




More information about the Gdb-patches mailing list