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


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.

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

Simon


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