aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-fork.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-09-16 15:51:36 +0100
committerPedro Alves <palves@redhat.com>2015-09-16 15:51:36 +0100
commitd136eff549649f23b12121575362dfa09343ea0a (patch)
tree84c8cc62c220415efabb2c7dac8fa083d4c7bbca /gdb/linux-fork.h
parent991f019c506528fa94ac173db6f1120f8b2373bf (diff)
downloadgdb-d136eff549649f23b12121575362dfa09343ea0a.zip
gdb-d136eff549649f23b12121575362dfa09343ea0a.tar.gz
gdb-d136eff549649f23b12121575362dfa09343ea0a.tar.bz2
Make it easier to debug non-stop-fair-events.exp
If we enable infrun debug running this test, it quickly fails with a full expect buffer. That can be simply handled with a couple exp_continues. As it's annoying to hack this every time we need to debug the test, this patch adds bits to enable debugging support easily, with a one-line change. And then, if any iteration of the test fails, we end up with a long cascade of time outs. Just bail out when we see the first fail. gdb/testsuite/ 2015-09-16 Pedro Alves <palves@redhat.com> * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor) (enable_debug): New procedures. (test): Use them. Bail out if waiting for threads fails. (top level): Bail out if a test fails.
Diffstat (limited to 'gdb/linux-fork.h')
0 files changed, 0 insertions, 0 deletions