[RFA] Have ObjC shared the cplus_specific struct

Adam Fedor fedor@doc.com
Tue Feb 18 15:42:00 GMT 2003



Adam Fedor wrote:
> This patch removes the objc_specific struct and uses the cplus_specific 
> one instead.
> 
> 
> ------------------------------------------------------------------------
> 
> 2003-02-17  Adam Fedor  <fedor@gnu.org>
> 
> 	* symtab.h: Remove objc_specific struct
> 	* symtab.c (symbol_init_language_specific,
> 	symbol_init_demangled_name, symbol_demangled_name): Have
> 	language_objc use cplus_specific struct.
> 
> @@ -558,7 +568,8 @@ symbol_init_demangled_name (struct gener
>  
>    demangled = symbol_find_demangled_name (gsymbol, mangled);
>    if (gsymbol->language == language_cplus
> -      || gsymbol->language == language_java)
> +      || gsymbol->language == language_java
> +      || gsymbol->language == language_objc)
>      {
>        if (demangled)
>  	{

Minor oops. This part of the patch is actually supposed to go with my 
other patch to demangle objc names. See PR 1066 or
http://sources.redhat.com/ml/gdb-patches/2003-01/msg00442.html



More information about the Gdb-patches mailing list