gdb/gdbserver/
authorPedro Alves <palves@redhat.com>
Wed, 1 Apr 2009 22:25:44 +0000 (22:25 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 1 Apr 2009 22:25:44 +0000 (22:25 +0000)
commitc35fafde7ca3b92581dee5c0ed445de3c667ab2d
tree8b64f43b731d66e2e36a5c384edb03a1d5536b45
parentf8a8dce68ffc458273c64b2fb6fb2e9ab22d1fa1
gdb/gdbserver/

* linux-low.c (linux_wait_for_event): Don't clear the `stepping'
flag.
(wait_for_sigstop): Don't leave a finished single-step SIGTRAP
pending.
(linux_continue_one_thread): Only preserve the stepping flag if
there's a pending breakpoint.

gdb/testsuite/

* gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/pending-step.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/pending-step.exp [new file with mode: 0644]