Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: Adam Fedor <fedor@doc.com>
Cc: GDB Patches <gdb-patches@sources.redhat.com>
Subject: Re: [RFA] Have ObjC shared the cplus_specific struct
Date: Wed, 19 Feb 2003 15:08:00 -0000	[thread overview]
Message-ID: <15955.40678.132629.275547@localhost.redhat.com> (raw)
In-Reply-To: <3E51AC66.3060704@doc.com>

Adam Fedor writes:
 > This patch removes the objc_specific struct and uses the cplus_specific 
 > one instead.

OK.
Is there a PR associated with this?

elena


 > 
 > 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.
 > 
 > Index: symtab.c
 > ===================================================================
 > RCS file: /cvs/src/src/gdb/symtab.c,v
 > retrieving revision 1.87
 > diff -u -p -r1.87 symtab.c
 > --- symtab.c	4 Feb 2003 18:07:01 -0000	1.87
 > +++ symtab.c	18 Feb 2003 03:17:46 -0000
 > @@ -412,14 +413,11 @@ symbol_init_language_specific (struct ge
 >  {
 >    gsymbol->language = language;
 >    if (gsymbol->language == language_cplus
 > -      || gsymbol->language == language_java)
 > +      || gsymbol->language == language_java
 > +      || gsymbol->language == language_objc)
 >      {
 >        gsymbol->language_specific.cplus_specific.demangled_name = NULL;
 >      }
 > -  else if (gsymbol->language == language_objc)
 > -    {
 > -      gsymbol->language_specific.objc_specific.demangled_name = NULL;
 > -    }
 >    else
 >      {
 >        memset (&gsymbol->language_specific, 0,
 > @@ -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)
 >  	{
 > @@ -583,12 +594,10 @@ char *
 >  symbol_demangled_name (struct general_symbol_info *gsymbol)
 >  {
 >    if (gsymbol->language == language_cplus
 > -      || gsymbol->language == language_java)
 > +      || gsymbol->language == language_java
 > +      || gsymbol->language == language_objc)
 >      return gsymbol->language_specific.cplus_specific.demangled_name;
 >  
 > -  else if (gsymbol->language == language_objc)
 > -    return gsymbol->language_specific.objc_specific.demangled_name;
 > -
 >    else 
 >      return NULL;
 >  }
 > Index: symtab.h
 > ===================================================================
 > RCS file: /cvs/src/src/gdb/symtab.h,v
 > retrieving revision 1.57
 > diff -u -p -r1.57 symtab.h
 > --- symtab.h	4 Feb 2003 21:37:03 -0000	1.57
 > +++ symtab.h	14 Feb 2003 04:24:44 -0000
 > @@ -90,11 +90,6 @@ struct general_symbol_info
 >        char *demangled_name;
 >      }
 >      cplus_specific;
 > -    struct objc_specific
 > -    {
 > -      char *demangled_name;
 > -    }
 > -    objc_specific;
 >    }
 >    language_specific;
 >  


  parent reply	other threads:[~2003-02-19 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18  3:45 Adam Fedor
2003-02-18 15:42 ` Adam Fedor
2003-02-19 15:08 ` Elena Zannoni [this message]
2003-02-20  3:40   ` Adam Fedor
2003-02-19 18:56 ` Elena Zannoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15955.40678.132629.275547@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=fedor@doc.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox