Don't call clear_quit_flag after check_quit_flag
authorPedro Alves <palves@redhat.com>
Tue, 12 Apr 2016 15:49:30 +0000 (16:49 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 12 Apr 2016 15:54:49 +0000 (16:54 +0100)
commitabf009ef94d2f89b09767cce30bcf99224c1a0a9
tree06df8019292e739ad5a2436be39bcccf876b7a71
parent6eddd09a12e752c08f55e62fbb30d42058a6b1ea
Don't call clear_quit_flag after check_quit_flag

Obviously not necessary since check_quit_flag clears the flag as side
effect.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

* remote-sim.c (gdb_os_poll_quit): Don't call clear_quit_flag.
* remote.c (remote_wait_as): Don't call clear_quit_flag.
gdb/ChangeLog
gdb/remote-sim.c
gdb/remote.c