make MSYMBOL_VALUE_ADDRESS an rvalue
authorTom Tromey <tromey@redhat.com>
Thu, 15 Aug 2013 14:44:43 +0000 (08:44 -0600)
committerTom Tromey <tromey@redhat.com>
Wed, 26 Feb 2014 19:11:16 +0000 (12:11 -0700)
commit40c1a0073715c1e3f93afc83edac8396eb362a98
treef18968c9b394e0ba915bf5d59e95de4b7869185c
parentefd66ac6698323d9523a4dce352008c4c835812e
make MSYMBOL_VALUE_ADDRESS an rvalue

This changes MSYMBOL_VALUE_ADDRESS to be an rvalue.  In a later patch
we change this macro to compute its value; this patch introduces a
setter to make the break a bit cleaner.

2014-02-26  Tom Tromey  <tromey@redhat.com>

* minsyms.c (prim_record_minimal_symbol_full): Use
SET_MSYMBOL_VALUE_ADDRESS.
* objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
* sh64-tdep.c (sh64_elf_make_msymbol_special): Use
SET_MSYMBOL_VALUE_ADDRESS.
* symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
(SET_MSYMBOL_VALUE_ADDRESS): New macro.
gdb/ChangeLog
gdb/minsyms.c
gdb/objfiles.c
gdb/sh64-tdep.c
gdb/symtab.h