2007-10-02 Mark Mitchell <mark@codesourcery.com>
authorDaniel Jacobowitz <drow@false.org>
Tue, 2 Oct 2007 16:09:53 +0000 (16:09 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 2 Oct 2007 16:09:53 +0000 (16:09 +0000)
commit4577549b8f2c2839976293166e7475401d9e21f2
tree61f014025f2d20732677c9fe60d15ba2b70fd15b
parentb0b951d937a64163513e46d65b529c6a5ac87139
2007-10-02  Mark Mitchell  <mark@codesourcery.com>

* mingw-hdep.c (gdb_select): Stop helper threads before returning.
* ser-mingw.c (enum select_thread_state): New type.
(struct ser_console_state): Add have_started and thread_state.
(select_thread_wait): New function.
(thread_fn_type): New type.
(create_select_thread): New function.
(destroy_select_thread): Likewise.
(start_select_thread): Likewise.
(stop_select_thread): Likewise.
(console_select_thread): Use new functions.
(pipe_select_thread): Likewise.
(file_select_thread): Likewise.
(ser_console_wait_handle): Likewise.
(ser_console_done_wait_handle): Likewise.
(ser_console_close): Likewise.
(free_pipe_state): Likewise.
(pipe_wait_handle): Likewise.
(pipe_done_wait_handle): Likewise.
(struct net_windows_state): Derive from ser_console_state.
(net_windows_select_thread): Use new functions.
(net_windows_wait_handle): Likewise.
(net_windows_done_wait_handle): Likewise.
(net_windows_close): Likewise.
gdb/ChangeLog
gdb/mingw-hdep.c
gdb/ser-mingw.c
This page took 0.02555 seconds and 4 git commands to generate.