From 50ea21b7b34effab5d2a63ab61279dce243fa74d Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Sun, 27 Aug 2000 22:30:29 +0000 Subject: 2000-08-27 Elena Zannoni * 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. --- gdb/remote-vx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/remote-vx.c') diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index b66bc4626a2..36066607dd2 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); } -- cgit v1.2.1