Fix a bug in matching notifications.
authorYao Qi <yao@codesourcery.com>
Tue, 10 Dec 2013 13:59:20 +0000 (21:59 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 11 Dec 2013 01:38:58 +0000 (09:38 +0800)
commite7f0d979dd5cc4f8b658df892e93db69d6d660b7
treef28c280285bb95f105e5e9ea4312caccbc15816e
parent7b3fd68b73e17e7e2441b4bb208040e3ea480698
Fix a bug in matching notifications.

Due to copy-n-paste, the problem caused PR remote/15974 also exists
in gdbserver.  This patch fixes it in the same way.  Patch to fix
remote/15974 can be found:

  https://sourceware.org/ml/gdb-patches/2013-12/msg00014.html

gdb/gdbserver:

2013-12-11  Yao Qi  <yao@codesourcery.com>

* notif.c (handle_notif_ack): Return 0 if no notification
matches.
gdb/gdbserver/ChangeLog
gdb/gdbserver/notif.c