Call debug_exit in linux_wait_1
authorYao Qi <yao.qi@linaro.org>
Mon, 26 Sep 2016 03:01:19 +0000 (04:01 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 26 Sep 2016 03:01:19 +0000 (04:01 +0100)
commitedeeb6024373d865284903f0b96b9811afde0441
tree7b0a022efaac4b8d60c649b3f531a08b4174b10e
parentb9897522a5d0c812a5baded84ba0ecb01e1d08f5
Call debug_exit in linux_wait_1

When I read the GDBserver debug message, I find the "entering" of
linux_wait_1 doesn't match the "existing" of linux_wait_1.  Looks
we don't call debug_exit somewhere in linux_wait_1 on return.

gdb/gdbserver:

2016-09-26  Yao Qi  <yao.qi@linaro.org>

* linux-low.c (linux_wait_1): Call debug_exit.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c