aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-06-11 22:36:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-06-11 22:36:04 +0000
commita31f978cb0a2405dacbdc8a765f8baf1a3114a6b (patch)
treed5a4cda4b06c463a354d8f0c28b697b43aab61ff /gdb
parent526e70c05f9132dc0a15af67943d2ecf9120660e (diff)
downloadgdb-a31f978cb0a2405dacbdc8a765f8baf1a3114a6b.zip
gdb-a31f978cb0a2405dacbdc8a765f8baf1a3114a6b.tar.gz
gdb-a31f978cb0a2405dacbdc8a765f8baf1a3114a6b.tar.bz2
* win32-nat.c (solib_symbols_add): Fix a small compilation error.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/win32-nat.c4
-rw-r--r--gdb/windows-nat.c4
3 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 86df7a9..0474c61 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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, &section_addrs,
0, OBJF_SHARED);
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index c6f8f66..c2227cd 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);