[PATCH] Fix "PC register is not available" issue
Eli Zaretskii
eliz@gnu.org
Tue Apr 8 17:10:00 GMT 2014
> Date: Tue, 08 Apr 2014 17:42:56 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: brobecker@adacore.com, gdb-patches@sourceware.org
>
> I'd be very curious to see the backtrace you get
> for the failing thread in your test case (I guess emacs?).
Yes, it's Emacs. Do you mean the backtrace I see when debugging
natively? Because when debugging Emacs with gdbserver, I cannot
reproduce the problem with SuspendThread.
> + /* We get Access Denied (5) when trying to suspend
> + threads that Windows started on behalf of the
> + debuggee, usually when those threads are just
> + about to exit. */
> + if (err != ERROR_ACCESS_DENIED)
>
> I've shown above that whether it was Windows or the program
> itself that started the threads is irrelevant, it'd be good to
> reword this comment.
OK. But now I'm confused: what is the conclusion from what you saw?
More information about the Gdb-patches
mailing list