diff options
author | Fred Fish <fnf@specifix.com> | 1993-01-05 04:20:54 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-01-05 04:20:54 +0000 |
commit | 2eda1cdf948c3020a80b64636d9e4a0164e96b8e (patch) | |
tree | cbfa021d4128a8ce317eabf4c2bcfc6edc29353f /gdb/xcoffexec.c | |
parent | 533d1dc743abbc739ddd57f686b4c47a487515d5 (diff) | |
download | binutils-gdb-2eda1cdf948c3020a80b64636d9e4a0164e96b8e.tar.gz |
* xcoffexec.c (vmap_symtab): Use new macros to access minimal
symbol name and value fields.
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r-- | gdb/xcoffexec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c index ed783c588e6..c787e579710 100644 --- a/gdb/xcoffexec.c +++ b/gdb/xcoffexec.c @@ -432,10 +432,11 @@ struct stat *vip; ALL_MSYMBOLS (objfile, msymbol) #else for (msymbol = objfile->msymbols; - msymbol->name || msymbol->address; (msymbol)++) + SYMBOL_NAME (msymbol) || SYMBOL_VALUE_ADDRESS (msymbol); + (msymbol)++) #endif - if (msymbol->address < TEXT_SEGMENT_BASE) - msymbol -> address += vp->tstart - old_start; + if (SYMBOL_VALUE_ADDRESS (msymbol) < TEXT_SEGMENT_BASE) + SYMBOL_VALUE_ADDRESS (msymbol) += vp->tstart - old_start; break; } |