This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] windows-nat.c Cygwin save_context fix


On Tue, Sep 22, 2009 at 12:35:38AM +0200, Pierre Muller wrote:
>cgf wrote:
>>would just removing the "have_saved_context = 0;" from
>>do_windows_fetch_inferior_registers fix the problem?
>
>But them we need to be really careful about to where we should reset it
>to zero, otherwise we might end up by still copying saved_context, even
>after having reran the debuggee, no?

No.  It's reset every time there is a debug event.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]