diff options
author | Pedro Alves <palves@redhat.com> | 2017-04-13 16:15:34 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-13 16:18:16 +0100 |
commit | 2a00d7ce26a6ee15e3712b045c8b7932278ea23b (patch) | |
tree | b0f704ac4d78438257cdbf615ab68ecfea8e7cb5 /gdb/bfin-linux-tdep.c | |
parent | 441d7c93782a1b1877bfa903dc8da56a6041bfb4 (diff) | |
download | gdb-2a00d7ce26a6ee15e3712b045c8b7932278ea23b.zip gdb-2a00d7ce26a6ee15e3712b045c8b7932278ea23b.tar.gz gdb-2a00d7ce26a6ee15e3712b045c8b7932278ea23b.tar.bz2 |
Fix follow-fork latent bug
A later patch in the series adds an assertion to switch_to_thread that
the resulting inferior_ptid always matches the "current_inferior()"
inferior. This exposed a latent bug in the follow-fork code, where
we're building the fork child inferior. We're switching
inferior_ptid, but not the current inferior object...
gdb/ChangeLog:
2017-04-13 Pedro Alves <palves@redhat.com>
* infrun.c (follow_fork_inferior): Also switch the current
inferior.
Diffstat (limited to 'gdb/bfin-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions