summaryrefslogtreecommitdiffstats
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index c6f8f66fd1..c2227cd29f 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -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);
OpenPOWER on IntegriCloud