* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
[external/binutils.git] / gdb / testsuite / gdb.base / arrayidx.exp
index 4fab89a..cba0024 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2005, 2007 Free Software Foundation, Inc.
+# Copyright 2005, 2007-2012 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # gdb can correctly print arrays with indexes for each element of the
 # array.
 
-if $tracelevel {
-    strace $tracelevel
-}
-
 set testfile "arrayidx"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
@@ -41,8 +37,7 @@ if ![runto_main] then {
 
 # First, print the array without the indexes
 
-gdb_test "set print array-indexes off" \
-         "" \
+gdb_test_no_output "set print array-indexes off" \
          "Set print array-indexes to off"
 
 gdb_test "print array" \
@@ -51,8 +46,7 @@ gdb_test "print array" \
 
 # Second, print the same array with the indexes
 
-gdb_test "set print array-indexes on" \
-         "" \
+gdb_test_no_output "set print array-indexes on" \
          "Set print array-indexes to on"
 
 gdb_test "print array" \