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


On 2018-06-05 18:56, Tom Tromey wrote:
"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

I am fine with that too.

Simon


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