aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-10-09 16:42:33 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-10-19 11:29:42 +0100
commitb04480b11925aff2a1d2fbca30908801fd46c7f3 (patch)
tree4c4ff44a1a7ba7ea6455ed258884092a3b86b4e2 /gdb/stack.c
parent2c6ac8d7ce6e018168c17b11d978b25dba721554 (diff)
downloadgdb-b04480b11925aff2a1d2fbca30908801fd46c7f3.zip
gdb-b04480b11925aff2a1d2fbca30908801fd46c7f3.tar.gz
gdb-b04480b11925aff2a1d2fbca30908801fd46c7f3.tar.bz2
Testsuite: Fix racy conditions in py-cmd.exp
The test loop in test_python_inline_or_multiline was not checking for the gdb prompt. readline_is_used then reads in the prompt causing it to fail and the final chunk of tests to be skipped. Spotted this error because sometimes the gdb prompt does get processed correctly and the final tests are run, causing it to show up in the racy tests script output. Fix by ensuring the prompt is always checked for. To do this the list style needs reformatting so that variables get expanded. 2018-10-19 Alan Hayward <alan.hayward@arm.com> * gdb.python/py-cmd.exp: Check for gdb_prompt.
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions