aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote-vx.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 48ff69f..3fda676 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * remote-vx.c (vx_add_symbols): Fix typos.
+
Wed Aug 2 19:15:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
* arch-utils.h, gdbarch.c (default_register_sim_regno): New
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index efd43d7..b66bc46 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);
}