diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-08-27 22:30:29 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-08-27 22:30:29 +0000 |
commit | f0a58b0b8c4dde0a186617d71b3280d8ce9379d0 (patch) | |
tree | 58bb74315c8a60f3bd667a4e66f624a586e91ecb /gdb/rs6000-nat.c | |
parent | bd415eabb699c911e5186fc9efc5a867e45ba7af (diff) | |
download | gdb-f0a58b0b8c4dde0a186617d71b3280d8ce9379d0.zip gdb-f0a58b0b8c4dde0a186617d71b3280d8ce9379d0.tar.gz gdb-f0a58b0b8c4dde0a186617d71b3280d8ce9379d0.tar.bz2 |
2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
lvalue.
* xcoffread.c (xcoff_symfile_offsets): Ditto
* somsolib.c (som_solib_section_offsets): Ditto.
* somread.c (som_symfile_offsets): Ditto.
* rs6000-nat.c (vmap_symtab): Ditto.
* remote-vx.c (vx_add_symbols): Ditto.
* remote-os9k.c (rombug_wait): Ditto.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 0bf1e32..f9a0b14 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -609,13 +609,13 @@ vmap_symtab (struct vmap *vp) new_offsets = (struct section_offsets *) alloca (SIZEOF_SECTION_OFFSETS); for (i = 0; i < objfile->num_sections; ++i) - ANOFFSET (new_offsets, i) = ANOFFSET (objfile->section_offsets, i); + new_offsets->offsets[i] = ANOFFSET (objfile->section_offsets, i); /* The symbols in the object file are linked to the VMA of the section, relocate them VMA relative. */ - ANOFFSET (new_offsets, SECT_OFF_TEXT (objfile)) = vp->tstart - vp->tvma; - ANOFFSET (new_offsets, SECT_OFF_DATA (objfile)) = vp->dstart - vp->dvma; - ANOFFSET (new_offsets, SECT_OFF_BSS (objfile)) = vp->dstart - vp->dvma; + new_offsets->offsets[SECT_OFF_TEXT (objfile)] = vp->tstart - vp->tvma; + new_offsets->offsets[SECT_OFF_DATA (objfile)] = vp->dstart - vp->dvma; + new_offsets->offsets[SECT_OFF_BSS (objfile)] = vp->dstart - vp->dvma; objfile_relocate (objfile, new_offsets); } |