aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/bitfields.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/bitfields.exp')
-rw-r--r--gdb/testsuite/gdb.base/bitfields.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/bitfields.exp b/gdb/testsuite/gdb.base/bitfields.exp
index 1a8e142..994a5c1 100644
--- a/gdb/testsuite/gdb.base/bitfields.exp
+++ b/gdb/testsuite/gdb.base/bitfields.exp
@@ -197,8 +197,7 @@ proc bitfield_signedness {} {
# Determine if the target has signed bitfields so we can xfail the
# the signed bitfield tests if it doesn't.
- send_gdb "print i\n"
- gdb_expect {
+ gdb_test_multiple "print i" "determining signed-ness of bitfields" {
-re ".* = -256.*$gdb_prompt $" {
pass "determining signed-ness of bitfields"
}
@@ -255,7 +254,7 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
-send_gdb "set print sevenbit-strings\n" ; gdb_expect -re "$gdb_prompt $"
+gdb_test_no_output "set print sevenbit-strings"
bitfield_uniqueness
if [istarget "mips-idt-*"] then {