aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-04-07 11:30:07 +0100
committerYao Qi <yao.qi@linaro.org>2015-04-07 11:30:07 +0100
commit337532fab150dc531c92a31e179df96b98a619c0 (patch)
tree0f862fcb81284e5f28106ed7bfdd7d8b421fbd90 /gdb/python
parentffa547701bec5b3fb92acf049e5442cbbfc95b2c (diff)
downloadgdb-337532fab150dc531c92a31e179df96b98a619c0.zip
gdb-337532fab150dc531c92a31e179df96b98a619c0.tar.gz
gdb-337532fab150dc531c92a31e179df96b98a619c0.tar.bz2
Properly set alarm value in gdb.threads/non-stop-fair-events.exp
Nowadays, the alarm value is 60, and alarm is generated on some slow boards. This patch is to pass DejaGNU timeout value to the program, and move the alarm call before going to infinite loop. If any thread has activities, the alarm is reset. gdb/testsuite: 2015-04-07 Yao Qi <yao.qi@linaro.org> * gdb.threads/non-stop-fair-events.c (SECONDS): New macro. (child_function): Call alarm. (main): Move call to alarm into the loop. * gdb.threads/non-stop-fair-events.exp: Build program with -DTIMEOUT=$timeout.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions