diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2008-06-24 02:33:17 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2008-06-24 02:33:17 +0000 |
commit | eff8332bf042fb55494a32d8aa37cd80a3f3c1b2 (patch) | |
tree | 73af42830f67341881970fff5b4db6a82352da94 /gdb | |
parent | 6afe8e98a664d4a54e613ad9f4d28c426e50db96 (diff) | |
download | gdb-eff8332bf042fb55494a32d8aa37cd80a3f3c1b2.zip gdb-eff8332bf042fb55494a32d8aa37cd80a3f3c1b2.tar.gz gdb-eff8332bf042fb55494a32d8aa37cd80a3f3c1b2.tar.bz2 |
* 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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/win32-nat.c | 5 | ||||
-rw-r--r-- | gdb/windows-nat.c | 5 |
3 files changed, 12 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5bce092..d1757dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-06-23 Christopher Faylor <me.gdb.changelog@cgf.cx> + + * 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. + 2008-06-19 Pierre Muller <muller@ics.u-strasbg.fr> * gnu-nat.c (proc_string): Use capital T for "Thread". diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 1478a96..00929aa 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; } diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 1478a96..00929aa 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-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; } |