aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-08-27 22:30:29 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-08-27 22:30:29 +0000
commitf0a58b0b8c4dde0a186617d71b3280d8ce9379d0 (patch)
tree58bb74315c8a60f3bd667a4e66f624a586e91ecb /gdb/remote-vx.c
parentbd415eabb699c911e5186fc9efc5a867e45ba7af (diff)
downloadgdb-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/remote-vx.c')
-rw-r--r--gdb/remote-vx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index b66bc46..3606660 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -685,9 +685,9 @@ vx_add_symbols (char *name, int from_tty, CORE_ADDR text_addr,
bfd_map_over_sections (objfile->obfd, find_sect, &ss);
/* Both COFF and b.out frontends use these SECT_OFF_* values. */
- ANOFFSET (offs, SECT_OFF_TEXT (objfile)) = text_addr - ss.text_start;
- ANOFFSET (offs, SECT_OFF_DATA (objfile)) = data_addr - ss.data_start;
- ANOFFSET (offs, SECT_OFF_BSS (objfile)) = bss_addr - ss.bss_start;
+ offs->offsets[SECT_OFF_TEXT (objfile)] = text_addr - ss.text_start;
+ offs->offsets[SECT_OFF_DATA (objfile)] = data_addr - ss.data_start;
+ offs->offsets[SECT_OFF_BSS (objfile)] = bss_addr - ss.bss_start;
objfile_relocate (objfile, offs);
}