GDB was not restoring the signal handler before returning when a notification
authorSergio Durigan Junior <sergiodj@redhat.com>
Tue, 4 Jun 2013 15:12:52 +0000 (15:12 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Tue, 4 Jun 2013 15:12:52 +0000 (15:12 +0000)
commit5e1b953b8c0c8bad6c73e144776d859273e31a77
tree8b73be55a493090e146a651a50d3bf3daaae089c
parentafacd7f34ae5f4d74b0220089c2798d332422f6a
GDB was not restoring the signal handler before returning when a notification
was received.  This patch fixes it.

2013-06-04  Sergio Durigan Junior  <sergiodj@redhat.com>
    Pedro Alves  <palves@redhat.com>

* remote.c (remote_wait_as): Restore signal handler before returning
when GDB gets a notification.
gdb/ChangeLog
gdb/remote.c