This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix typos in remote-vx.c
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] Fix typos in remote-vx.c
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Wed, 2 Aug 2000 15:05:49 -0400 (EDT)
Just committed this.
Elena
2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote-vx.c (vx_add_symbols): Fix typos.
Index: remote-vx.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-vx.c,v
retrieving revision 1.5
diff -c -u -p -r1.5 remote-vx.c
--- remote-vx.c 2000/07/30 01:48:27 1.5
+++ remote-vx.c 2000/08/02 14:50:22
@@ -685,9 +685,9 @@ vx_add_symbols (char *name, int from_tty
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);
}