aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 82d4c94..00c9933 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -450,7 +450,7 @@ static int
safe_symbol_file_add_stub (void *argv)
{
#define p ((struct safe_symbol_file_add_args *)argv)
- struct so_stuff *so = solib_start.next;
+ struct so_stuff *so = &solib_start;
while ((so = so->next))
if (strcasecmp (so->name, p->name) == 0)