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: [RFA] Typedef'd method parameters [2/4]


On 04/25/2011 02:06 PM, Tom Tromey wrote:

This is pretty gross.

I did warn you! :-)


There are some bits available in struct general_symbol_info:

                struct general_symbol_info {
  /*   0   4 */    char * name
  /*   4   4 */    union {...} value
  /*   8   4 */    union {...} language_specific
  /*  12   1 */    enum language language
   /* XXX 8 bit hole, try to pack */
  /*  14   2 */    short int section
  /*  16   4 */    struct obj_section * obj_section
                }

So, you could put a flag in there.
That would be a lot cleaner.

I did not notice that. Thanks. I've added a flag for this.


Look for follow-up patches in response to Jan's remarks.

Keith


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