aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-utils.cc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-11-11 15:52:10 +0100
committerTom de Vries <tdevries@suse.de>2022-11-11 15:52:10 +0100
commitac42aa228f3f1ebda16ddb53b993d6341dbbf100 (patch)
tree21bfff295d68d817a1fe5c817b3fefd61be3dd91 /gdbsupport/common-utils.cc
parent4f04dba96d4783bae62e7fe4a5eace9fc414723d (diff)
downloadbinutils-ac42aa228f3f1ebda16ddb53b993d6341dbbf100.zip
binutils-ac42aa228f3f1ebda16ddb53b993d6341dbbf100.tar.gz
binutils-ac42aa228f3f1ebda16ddb53b993d6341dbbf100.tar.bz2
[gdb/testsuite] Don't timeout on prompt in gdb_start_cmd
We're currently running into a timeout at: ... (gdb) start ^M Error in expression, near `1'.^M (gdb) UNTESTED: gdb.ada/start.exp: start failed to land inside the right \ procedure ... due to the fact that gdb_start_cmd doesn't handle a prompt as reaction to the start command. Fix this by handling the prompt. Reduces execution time of the test-case from 1m1s to 1s. Tested on x86_64-linux.
Diffstat (limited to 'gdbsupport/common-utils.cc')
0 files changed, 0 insertions, 0 deletions