* win32-nat.c (solib_symbols_add): Fix a small compilation error.

This commit is contained in:
Joel Brobecker 2003-06-11 22:36:04 +00:00
parent 526e70c05f
commit a31f978cb0
3 changed files with 8 additions and 4 deletions

View 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.

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

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