From 8a902701255a16c49f7f893ebbdae91275ef9512 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Wed, 2 Aug 2000 14:52:10 +0000 Subject: [PATCH] 2000-08-02 Elena Zannoni * remote-vx.c (vx_add_symbols): Fix typos. --- gdb/ChangeLog | 4 ++++ gdb/remote-vx.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48ff69fb32f..3fda676db74 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-08-02 Elena Zannoni + + * remote-vx.c (vx_add_symbols): Fix typos. + Wed Aug 2 19:15:34 2000 Andrew Cagney * arch-utils.h, gdbarch.c (default_register_sim_regno): New diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index efd43d7bcf3..b66bc4626a2 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 (so->objfile)) = text_addr - ss.text_start; - ANOFFSET (offs, SECT_OFF_DATA (so->objfile)) = data_addr - ss.data_start; - ANOFFSET (offs, SECT_OFF_BSS (so->objfile)) = bss_addr - ss.bss_start; + 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; objfile_relocate (objfile, offs); } -- 2.30.2