]> Git Repo - binutils.git/commit
Reset inferior::control on inferior exit
authorYao Qi <[email protected]>
Thu, 15 Feb 2018 14:48:30 +0000 (14:48 +0000)
committerYao Qi <[email protected]>
Thu, 15 Feb 2018 14:48:30 +0000 (14:48 +0000)
commit85046ae23f853bfd01db6b4a840e80220487bffd
tree6f25802b0d3a35f6c9d89468c8c93b06bdeafaad
parent355c559b74518b67eb113e635363cc890058746c
Reset inferior::control on inferior exit

When we kill an inferior, the inferior is not deleted.  What is more, it
is reused when the new process is created, so we need to reset inferior's
state when it exits.

gdb:

2018-02-15  Yao Qi  <[email protected]>

PR gdb/22849
* inferior.c (exit_inferior_1): Reset inf->control.
gdb/ChangeLog
gdb/inferior.c
This page took 0.026258 seconds and 4 git commands to generate.