Commit b5710c2
committed
Work around intermittent test failure where gdb just forgets to process a command in a list of multiple commands
See https://buildkite.com/julialang/rr/builds/1439#018ae9dd-9eb5-4f02-87ea-dfb3804edbc6
We issue these commands without waiting
cond 1 v2*v2==4
cond 2 !(v2*v2==4)
c
Gdb does
(rr) cond 1 v2*v2==4
(rr) cond 2 !(v2*v2==4)
(rr)
and then just hangs without executed the "c".
This commit uses the Python interpreter to do all 3 commands in one input line. Seems to fix the problem.1 parent ed1ab9b commit b5710c2
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
| |||
0 commit comments