projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up gdb.gdb/selftest.exp
[binutils-gdb.git]
/
gdb
/
gnu-nat.c
diff --git
a/gdb/gnu-nat.c
b/gdb/gnu-nat.c
index 124574e8ed6b9ff4a2d97435b809317d7d9b67f9..85a53b8b1b6a9ad861b5325b46665d3c315c63da 100644
(file)
--- a/
gdb/gnu-nat.c
+++ b/
gdb/gnu-nat.c
@@
-2163,6
+2163,8
@@
gnu_create_inferior (struct target_ops *ops,
startup_inferior (START_INFERIOR_TRAPS_EXPECTED);
inf->pending_execs = 0;
+ /* Get rid of the old shell threads. */
+ prune_threads ();
inf_validate_procinfo (inf);
inf_update_signal_thread (inf);