projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdbserver: don't pick a random thread if the current thread dies
[binutils-gdb.git]
/
gdb
/
gdbserver
/
remote-utils.c
diff --git
a/gdb/gdbserver/remote-utils.c
b/gdb/gdbserver/remote-utils.c
index bb3145683bbea5fb0c461a9d1ed90b25dbdc8b34..05563bea7e6e4f4139d3f5b35596482d9f90e5e5 100644
(file)
--- a/
gdb/gdbserver/remote-utils.c
+++ b/
gdb/gdbserver/remote-utils.c
@@
-747,7
+747,7
@@
input_interrupt (int unused)
fprintf (stderr, "client connection closed\n");
return;
}
- else if (cc != 1 || c != '\003'
|| current_thread == NULL
)
+ else if (cc != 1 || c != '\003')
{
fprintf (stderr, "input_interrupt, count = %d c = %d ", cc, c);
if (isprint (c))