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: [PATCH 1/4] Change SYMBOL_VALUE_ADDRESS to be an lvalue


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

Simon> On 2019-06-27 10:52, Tom Tromey wrote:
>> This changes SYMBOL_VALUE_ADDRESS to be an lvalue.  The symbol readers
>> generally assign using this, so this also introduces
>> SET_SYMBOL_VALUE_ADDRESS and updates the readers.  Making this change
>> is useful in a subsequent patch, which redefined SYMBOL_VALUE_ADDRESS.

Simon> Is the title (and commit message) backwards?  SYMBOL_VALUE_ADDRESS(x)
Simon> is currently an lvalue, and you are making it a not-lvalue, no?

Yeah, I meant rvalue.  I've updated the patch to fix this.

Tom


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