* 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.
This commit is contained in:
parent
6afe8e98a6
commit
eff8332bf0
3 changed files with 12 additions and 4 deletions
|
@ -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>
|
2008-06-19 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
* gnu-nat.c (proc_string): Use capital T for "Thread".
|
* gnu-nat.c (proc_string): Use capital T for "Thread".
|
||||||
|
|
|
@ -556,8 +556,6 @@ static int
|
||||||
safe_symbol_file_add_stub (void *argv)
|
safe_symbol_file_add_stub (void *argv)
|
||||||
{
|
{
|
||||||
#define p ((struct safe_symbol_file_add_args *) 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);
|
p->ret = symbol_file_add (p->name, p->from_tty, p->addrs, p->mainline, p->flags);
|
||||||
return !!p->ret;
|
return !!p->ret;
|
||||||
#undef p
|
#undef p
|
||||||
|
@ -1525,6 +1523,7 @@ do_initial_win32_stuff (DWORD pid)
|
||||||
terminal_init_inferior_with_pgrp (pid);
|
terminal_init_inferior_with_pgrp (pid);
|
||||||
target_terminal_inferior ();
|
target_terminal_inferior ();
|
||||||
|
|
||||||
|
stop_soon = STOP_QUIETLY;
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
stop_after_trap = 1;
|
stop_after_trap = 1;
|
||||||
|
@ -1534,6 +1533,8 @@ do_initial_win32_stuff (DWORD pid)
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop_soon = NO_STOP_QUIETLY;
|
||||||
stop_after_trap = 0;
|
stop_after_trap = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -556,8 +556,6 @@ static int
|
||||||
safe_symbol_file_add_stub (void *argv)
|
safe_symbol_file_add_stub (void *argv)
|
||||||
{
|
{
|
||||||
#define p ((struct safe_symbol_file_add_args *) 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);
|
p->ret = symbol_file_add (p->name, p->from_tty, p->addrs, p->mainline, p->flags);
|
||||||
return !!p->ret;
|
return !!p->ret;
|
||||||
#undef p
|
#undef p
|
||||||
|
@ -1525,6 +1523,7 @@ do_initial_win32_stuff (DWORD pid)
|
||||||
terminal_init_inferior_with_pgrp (pid);
|
terminal_init_inferior_with_pgrp (pid);
|
||||||
target_terminal_inferior ();
|
target_terminal_inferior ();
|
||||||
|
|
||||||
|
stop_soon = STOP_QUIETLY;
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
stop_after_trap = 1;
|
stop_after_trap = 1;
|
||||||
|
@ -1534,6 +1533,8 @@ do_initial_win32_stuff (DWORD pid)
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop_soon = NO_STOP_QUIETLY;
|
||||||
stop_after_trap = 0;
|
stop_after_trap = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue