diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2015-06-03 14:28:29 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2015-06-10 13:28:19 +0100 |
commit | 5d9c55d355c8e5c688caa3fe43c0d95d538daf35 (patch) | |
tree | 4fd0332372bf9da4d266b134190a6774097bf7ee /gdb/config/powerpc | |
parent | 040ea00bb02018cbe21ba732f68134ac91f370d2 (diff) | |
download | gdb-5d9c55d355c8e5c688caa3fe43c0d95d538daf35.zip gdb-5d9c55d355c8e5c688caa3fe43c0d95d538daf35.tar.gz gdb-5d9c55d355c8e5c688caa3fe43c0d95d538daf35.tar.bz2 |
windows-nat: Also ignore ERROR_INVALID_HANDLE from SuspendThread()
Discussed somewhat in the thread at
https://cygwin.com/ml/gdb-patches/2013-06/msg00680.html
This is pretty straightforward to demonstrate on Cygwin currently:
$ cat main.c
int main()
{
return 0;
}
$ gcc -g -O0 main.c -o main
$ ./gdb ./main
[...]
(gdb) r
Starting program: /wip/binutils-gdb/build.x86_64/gdb/main
warning: SuspendThread (tid=0x1cf0) failed. (winerr 6)
[Inferior 1 (process 976) exited normally]
with this patch applied:
$ ./gdb ./main
[...]
(gdb) r
Starting program: /wip/binutils-gdb/build.x86_64/gdb/main
[Inferior 1 (process 4852) exited normally]
gdb/ChangeLog:
2015-06-03 Jon Turney <jon.turney@dronecode.org.uk>
* windows-nat.c (thread_rec): Also ignore ERROR_INVALID_HANDLE
from SuspendThread().
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'gdb/config/powerpc')
0 files changed, 0 insertions, 0 deletions