* win32-nat.c (solib_symbols_add): Fix a small compilation error.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 11 Jun 2003 22:36:04 +0000 (22:36 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 11 Jun 2003 22:36:04 +0000 (22:36 +0000)
gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c

index 86df7a9ccdb53a621442f564fd007c1a0ab60615..0474c61a8b431f7aecdf5a9fc76e1d3a29b4a8ab 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-11  J. Brobecker  <brobecker@gnat.com>
+
+       * win32-nat.c (solib_symbols_add): Fix a small compilation error.
+
 2003-06-11  David Carlton  <carlton@bactrian.org>
 
        * block.h (BLOCK_SHOULD_SORT): Delete.
index c6f8f66fd16bcd109f88c2e009cf997a09096e1f..c2227cd29fe4d3902e3176f190691d3009fa39e5 100644 (file)
@@ -847,8 +847,8 @@ solib_symbols_add (char *name, int from_tty, CORE_ADDR load_addr)
 
       section_addrs = alloc_section_addr_info (1);
       my_cleanups = make_cleanup (xfree, section_addrs);
-      section_addrs.other[0].name = ".text";
-      section_addrs.other[0].addr = load_addr;
+      section_addrs->other[0].name = ".text";
+      section_addrs->other[0].addr = load_addr;
 
       result = safe_symbol_file_add (name, from_tty, &section_addrs,
                                     0, OBJF_SHARED);
index c6f8f66fd16bcd109f88c2e009cf997a09096e1f..c2227cd29fe4d3902e3176f190691d3009fa39e5 100644 (file)
@@ -847,8 +847,8 @@ solib_symbols_add (char *name, int from_tty, CORE_ADDR load_addr)
 
       section_addrs = alloc_section_addr_info (1);
       my_cleanups = make_cleanup (xfree, section_addrs);
-      section_addrs.other[0].name = ".text";
-      section_addrs.other[0].addr = load_addr;
+      section_addrs->other[0].name = ".text";
+      section_addrs->other[0].addr = load_addr;
 
       result = safe_symbol_file_add (name, from_tty, &section_addrs,
                                     0, OBJF_SHARED);