]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-mi-objfile-gdb.py
testsuite: Update py-mi-objfile to expect console format print
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-mi-objfile-gdb.py
index 492d71cadc69af0ecd6a980e79401430e04fcdaa..2c7f96d8bda66df25163f6a6f5be43bb468f7256 100644 (file)
@@ -22,6 +22,5 @@ import gdb
 # This will create one for to_string=True and then another for the
 # parameter change notification.
 gdb.execute("set width 101", to_string=True)
-# And finally a command that will use the original MI stream, which in a
-# buggy gdb will use just-freed data.
-gdb.execute("list")
+# And finally a command that will use the console stream without redirection
+gdb.execute("list main")