summaryrefslogtreecommitdiff
path: root/gdb/remote-os9k.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
commit50ea21b7b34effab5d2a63ab61279dce243fa74d (patch)
tree9f23224160cb85446b4d6e7b979d7576f6d62145 /gdb/remote-os9k.c
parent50c6ba7775a6cafe02f9a0e2339667285419562f (diff)
downloadgdb-50ea21b7b34effab5d2a63ab61279dce243fa74d.tar.gz
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-os9k.c')
-rw-r--r--gdb/remote-os9k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c
index 3e1a1eedb0f..53ca13d2762 100644
--- a/gdb/remote-os9k.c
+++ b/gdb/remote-os9k.c
@@ -493,8 +493,8 @@ rombug_wait (int pid, struct target_waitstatus *status)
new_symfile_objfile (obj_sec->objfile, 1, 0);
offs = (struct section_offsets *) alloca (SIZEOF_SECTION_OFFSETS);
memcpy (offs, symfile_objfile->section_offsets, SIZEOF_SECTION_OFFSETS);
- ANOFFSET (offs, SECT_OFF_DATA (symfile_objfile)) = addr;
- ANOFFSET (offs, SECT_OFF_BSS (symfile_objfile)) = addr;
+ offs->offsets[SECT_OFF_DATA (symfile_objfile)] = addr;
+ offs->offsets[SECT_OFF_BSS (symfile_objfile)] = addr;
objfile_relocate (symfile_objfile, offs);
}