diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-05-07 22:14:27 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-05-07 22:19:41 +0100 |
commit | a3237c7cc7de4b3ea44d8874a0c90dff1f4d31dc (patch) | |
tree | 6086d7008406c4b0f009fca6d5f4a45f476d7d23 /texinfo | |
parent | 91e3c425d6adb4797a2137dd9126a2f19e1833d8 (diff) | |
download | gdb-a3237c7cc7de4b3ea44d8874a0c90dff1f4d31dc.zip gdb-a3237c7cc7de4b3ea44d8874a0c90dff1f4d31dc.tar.gz gdb-a3237c7cc7de4b3ea44d8874a0c90dff1f4d31dc.tar.bz2 |
gdb/testsuite: use gdb_test_no_output instead of send_gdb
I noticed gdb.base/ptype-offsets.exp failing occasionally, this was
due to lines like this in the test script:
send_gdb "set print type hex on\n"
As this does not match the '(gdb)' prompt that is produced, the prompt
would sometimes be matched against the next test, causing the next
test to think its output was missing and fail.
Fix this by switching to:
gdb_test_no_output "set print type hex on"
gdb/testsuite/ChangeLog:
* gdb.base/ptype-offsets.exp: Replace use of send_gdb with
gdb_test_no_output.
Diffstat (limited to 'texinfo')
0 files changed, 0 insertions, 0 deletions