diff options
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 dd82115..fd758b5 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -514,8 +514,8 @@ rombug_wait (pid, 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) = addr; - ANOFFSET (offs, SECT_OFF_BSS) = addr; + ANOFFSET (offs, SECT_OFF_DATA (symfile_objfile)) = addr; + ANOFFSET (offs, SECT_OFF_BSS (symfile_objfile)) = addr; objfile_relocate (symfile_objfile, offs); } |