mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-23 14:14:56 +08:00
* win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
(do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp instead of target_terminal_init since inferior_ptid isn't set yet.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2007-02-12 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
|
||||||
|
(do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
|
||||||
|
instead of target_terminal_init since inferior_ptid isn't set yet.
|
||||||
|
|
||||||
2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
|
2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
|
|
||||||
* MAINTAINERS (Write After Approval): Add myself.
|
* MAINTAINERS (Write After Approval): Add myself.
|
||||||
|
@ -1542,6 +1542,8 @@ win32_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
|
|||||||
{
|
{
|
||||||
int pid = PIDGET (ptid);
|
int pid = PIDGET (ptid);
|
||||||
|
|
||||||
|
target_terminal_ours ();
|
||||||
|
|
||||||
/* We loop when we get a non-standard exception rather than return
|
/* We loop when we get a non-standard exception rather than return
|
||||||
with a SPURIOUS because resume can try and step or modify things,
|
with a SPURIOUS because resume can try and step or modify things,
|
||||||
which needs a current_thread->h. But some of these exceptions mark
|
which needs a current_thread->h. But some of these exceptions mark
|
||||||
@ -1587,7 +1589,7 @@ do_initial_win32_stuff (DWORD pid)
|
|||||||
clear_proceed_status ();
|
clear_proceed_status ();
|
||||||
init_wait_for_inferior ();
|
init_wait_for_inferior ();
|
||||||
|
|
||||||
target_terminal_init ();
|
terminal_init_inferior_with_pgrp (pid);
|
||||||
target_terminal_inferior ();
|
target_terminal_inferior ();
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
@ -1542,6 +1542,8 @@ win32_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
|
|||||||
{
|
{
|
||||||
int pid = PIDGET (ptid);
|
int pid = PIDGET (ptid);
|
||||||
|
|
||||||
|
target_terminal_ours ();
|
||||||
|
|
||||||
/* We loop when we get a non-standard exception rather than return
|
/* We loop when we get a non-standard exception rather than return
|
||||||
with a SPURIOUS because resume can try and step or modify things,
|
with a SPURIOUS because resume can try and step or modify things,
|
||||||
which needs a current_thread->h. But some of these exceptions mark
|
which needs a current_thread->h. But some of these exceptions mark
|
||||||
@ -1587,7 +1589,7 @@ do_initial_win32_stuff (DWORD pid)
|
|||||||
clear_proceed_status ();
|
clear_proceed_status ();
|
||||||
init_wait_for_inferior ();
|
init_wait_for_inferior ();
|
||||||
|
|
||||||
target_terminal_init ();
|
terminal_init_inferior_with_pgrp (pid);
|
||||||
target_terminal_inferior ();
|
target_terminal_inferior ();
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
Reference in New Issue
Block a user