aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-08-02 14:52:10 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-08-02 14:52:10 +0000
commit8a902701255a16c49f7f893ebbdae91275ef9512 (patch)
treeb89e382566612d15da6f6d032fa258ab771d9b1c
parent5a2402b8e0a796b75b1d394fb73360f14e83cc33 (diff)
downloadgdb-8a902701255a16c49f7f893ebbdae91275ef9512.zip
gdb-8a902701255a16c49f7f893ebbdae91275ef9512.tar.gz
gdb-8a902701255a16c49f7f893ebbdae91275ef9512.tar.bz2
2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote-vx.c (vx_add_symbols): Fix typos.
-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);
}