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 2/6] Change representation of psymbol to flush out accessors


>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:

Simon> I wanted for a while to convert all these macros to static inline
Simon> functions, it just hasn't been high on the todo list.  Since you're
Simon> adding new code, would you mind making them static inline functions
Simon> instead of macros (if you agree with the idea, of course)?

How about just getting rid of them entirely and referring to the members
directly?  IMO the macros don't add any value, and I suppose functions
wouldn't really, either, with the exception of one for computing the
address.  This could be the only method.

Tom


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