diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/gnu-nat.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 302eb6e..7fd5d32 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2016-12-09 Thomas Schwinge <thomas@codesourcery.com> + * gnu-nat.c (gnu_create_inferior): After startup_inferior, call + prune_threads. + * inferior.c (print_selected_inferior): Avoid PATH_MAX usage. 2016-12-08 Simon Marchi <simon.marchi@ericsson.com> diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 124574e..85a53b8 100644 --- 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); |