summaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2008-06-24 02:33:17 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2008-06-24 02:33:17 +0000
commita2174b43248f6879eb07c6c79620272d36f0ee27 (patch)
treebe3fba6fee222dfbb9c441356e500b52cb2777c6 /gdb/win32-nat.c
parent2936121829d4eb4b92b29fe54fee12872c996090 (diff)
downloadgdb-a2174b43248f6879eb07c6c79620272d36f0ee27.tar.gz
* win32-nat.c (safe_symbol_file_add_stub): Remove unused variable.
(do_initial_win32_stuff): Fix problem with inability to set breakpoints when first loading DLL with "dll" command.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index 1478a96f2aa..00929aa71f7 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -556,8 +556,6 @@ static int
safe_symbol_file_add_stub (void *argv)
{
#define p ((struct safe_symbol_file_add_args *) argv)
- struct so_list *so = &solib_start;
-
p->ret = symbol_file_add (p->name, p->from_tty, p->addrs, p->mainline, p->flags);
return !!p->ret;
#undef p
@@ -1525,6 +1523,7 @@ do_initial_win32_stuff (DWORD pid)
terminal_init_inferior_with_pgrp (pid);
target_terminal_inferior ();
+ stop_soon = STOP_QUIETLY;
while (1)
{
stop_after_trap = 1;
@@ -1534,6 +1533,8 @@ do_initial_win32_stuff (DWORD pid)
else
break;
}
+
+ stop_soon = NO_STOP_QUIETLY;
stop_after_trap = 0;
return;
}