aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
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 /gdb/remote-vx.c
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.
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c6
1 files changed, 3 insertions, 3 deletions
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);
}