gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 13 Sep 2011 21:39:59 +0000 (21:39 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 13 Sep 2011 21:39:59 +0000 (21:39 +0000)
commit0935723e5e203625c49e97753a79902f919fbded
tree14e32a3c74a8a8d4583c11752fccbfc0e1ad76e0
parentc65b3e0d43b7b64febc4a1b7192e13f7be3a94fa
gdb/testsuite/
* gdb.python/py-events.exp: Remove pretty printing comment.
* gdb.python/py-evsignal.exp: New file.
* gdb.python/py-evthreads.c: Include signal.h.
(thread3): Remove variable count3.  Remove variable bad and use raise
instead.
(thread2): Remove variable count2.  Move thread3 pthread_create here,
merge pthread_join to a single line.
(main): Remove variable count1.  Merge pthread_join with pthread_create
to a single line.
* gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
KFAIL python/12966 for gdbserver.  Test return value of
gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
gdb_expect by gdb_test and gdb_test_multiple.
(thread 2, thread 3): New tests.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-events.exp
gdb/testsuite/gdb.python/py-evsignal.exp [new file with mode: 0644]
gdb/testsuite/gdb.python/py-evthreads.c
gdb/testsuite/gdb.python/py-evthreads.exp