[PATCH] Fix typos in remote-vx.c

Elena Zannoni ezannoni@cygnus.com
Wed Aug 2 12:05:00 GMT 2000


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);
 }
 


More information about the Gdb-patches mailing list