This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 2/3] Change cplus_specific to an alocated struct


>>>>> "Sami" == sami wagiaalla <swagiaal@redhat.com> writes:

Sami> This patch creates setters and getters for the newly named
Sami> mangled_lang struct and changes all references to use these functions.

Sami> +extern void
Sami> +symbol_set_demangled_name (struct general_symbol_info *gsymbol, char *name);

In a declaration, we generally don't put a newline after the type.
You can break the line after a "," instead.

Sami> +extern char*

Space before the "*", as well as the line break thing.

This is ok with those changes.  Thanks.

I was planning to ask for the new functions to be const-correct, but I
think that would be a big change, since things like symbol_natural_name
return a plain "char *" :-(

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]