This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA-v2] windows-nat.c Cygwin saved_context fix
On Tue, Sep 22, 2009 at 01:01:13AM +0200, Pierre Muller wrote:
>After testing,
>setting suspended field to -1
>seems to work equally well for me.
>
> Here is an updated patch:
>
>
>2009-09-22 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * windows-nat.c (saved_threadid): New variable.
> (do_windows_fetch_inferior_registers): Check for correct thread id
> and set suspended field to -1 if it is zero.
> (handle_output_debug_string): Set saved_threadid.
Please try my previous suggestion of removing the have_saved_context = 0;
cgf