This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Error message from GDB 7.5 when quitting
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 23 Aug 2012 23:51:08 -0400
- Subject: Re: Error message from GDB 7.5 when quitting
- References: <834nnta1dg.fsf@gnu.org>
> Quit anyway? (y or n) y
> error return windows-nat.c:1272 was 5
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> That line is
>
> CHECK (SetThreadContext (th->h, &th->context));
>
> Am I the only one who sees this?
Nope. I see it occasionally when trying to resume threads, or stop
them, or when trying to kill the inferior. I've googled around,
and really did not find much. One theory I had that maybe we were
trying to fiddle a thread that no longer existed, or had some special
status, maybe the sigint-handler thread. But it always seemed harmless,
so I have never taken the time to check further.
--
Joel