projects
/
deliverable
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd8ab4
)
Fix latent bug in target_pass_ctrlc
author
Pedro Alves
<pedro@palves.net>
Mon, 6 Jul 2020 19:02:47 +0000
(20:02 +0100)
committer
Simon Marchi
<simon.marchi@efficios.com>
Wed, 8 Jul 2020 18:19:08 +0000
(14:19 -0400)
We were checking the thr->executing of an exited thread.
gdb/ChangeLog:
PR gdb/26199
* target.c (target_pass_ctrlc): Looking at the inferiors
non-exited threads, not all threads.
gdb/target.c
patch
|
blob
|
blame
|
history
diff --git
a/gdb/target.c
b/gdb/target.c
index f4e4f05b5fac4bb2f9eae881d6fe65c2f6604f58..cd66675e8a41f52da1e9ea759299e643930e214b 100644
(file)
--- a/
gdb/target.c
+++ b/
gdb/target.c
@@
-3274,7
+3274,7
@@
target_pass_ctrlc (void)
if (proc_target == NULL)
continue;
- for (thread_info *thr : inf->threads ())
+ for (thread_info *thr : inf->
non_exited_
threads ())
{
/* A thread can be THREAD_STOPPED and executing, while
running an infcall. */
This page took
0.025918 seconds
and
4
git commands to generate.