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/remote-os9k.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/remote-os9k.c')
-rw-r--r-- | gdb/remote-os9k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 3e1a1ee..53ca13d 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); } |