Make command-repeat work after gdb.execute
[external/binutils.git] / gdb / testsuite / gdb.python / python.exp
index 0723507..60423d2 100644 (file)
@@ -121,6 +121,7 @@ gdb_test "python print (x)" "23"
 
 gdb_test "python gdb.execute('echo 2\\necho 3\\\\n\\n')" "23" \
     "multi-line execute"
+gdb_test " " "23" "gdb.execute does not affect repeat history"
 
 # Test post_event.
 gdb_py_test_multiple "post event insertion" \