[RFA 2/6] Change representation of psymbol to flush out accessors

Simon Marchi simon.marchi@polymtl.ca
Tue Jun 5 23:31:00 GMT 2018


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



More information about the Gdb-patches mailing list