From a31f978cb0a2405dacbdc8a765f8baf1a3114a6b Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 11 Jun 2003 22:36:04 +0000 Subject: * win32-nat.c (solib_symbols_add): Fix a small compilation error. --- gdb/win32-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/win32-nat.c') diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index c6f8f66..c2227cd 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-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, §ion_addrs, 0, OBJF_SHARED); -- cgit v1.1