gdb: Allow GDB to _not_ load a previous command history
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / display.exp
index 8cf0af0d7c336e32c421c7bcfedd4fd6e35ef499..a9d4f753ff97c27517d6a4ac21ff18c817aba593 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright 1997-2018 Free Software Foundation, Inc.
+#   Copyright 1997-2020 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
@@ -112,7 +112,7 @@ gdb_test "info disp" [multi_line \
                          ".*n  /x j" \
                          ".*y  /1bi &k" \
                          ".*y  /f f" \
-                        ] "info disp"
+                        ]
 
 gdb_test "cont" [multi_line \
                     ".*\[Ww\]atch.*" \
@@ -146,7 +146,7 @@ if { !$can_read_0 } {
        "y"
 }
 
-gdb_test "disab 3" ".*.*" "disab 3"
+gdb_test "disab 3" ".*.*"
 gdb_test "cont" ".*Breakpoint 4.*" "watch off"
 
 # Now the printf tests
@@ -195,7 +195,7 @@ gdb_test "print j"   " = 0\[\\r\\n\]+"   "debug test output 3"
 # x/0 j doesn't produce any output and terminates PA64 process when testing
 gdb_test_no_output "x/0 j"
 
-gdb_test "print/0 j" ".*Item count other than 1 is meaningless.*" "print/0 j"
+gdb_test "print/0 j" ".*Item count other than 1 is meaningless.*"
 gdb_test "print/s sum" " = 1000" "ignored s"
 gdb_test "print/i sum" ".*Format letter.*is meaningless.*.*" "no i"
 gdb_test "print/a &sum" ".*= $hex.*<sum>.*"
This page took 0.025425 seconds and 4 git commands to generate.