gdb/python: don't allow the user to delete window title attributes
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / reread.exp
index f824156cc3912353241a44254723fbc04d3be562..c74caf43dfc475c34b23edf76ccff825c4cc92fd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1998-2020 Free Software Foundation, Inc.
+# Copyright 1998-2021 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
@@ -67,6 +67,8 @@ foreach_with_prefix opts {
        gdb_rename_execfile ${binfile1} ${binfile}
        gdb_load ${binfile}
 
+       set readnow_p [readnow ${binfile}]
+       
        # Set a breakpoint at foo
 
        gdb_test "break foo" \
@@ -97,6 +99,9 @@ foreach_with_prefix opts {
            unsupported $test
        } else {
            gdb_run_cmd
+           if { $readnow_p } {
+               setup_kfail "gdb/26800" *-*-*
+           }
            gdb_test "" "Breakpoint.* foo .* at .*:9.*" $test
        }
 
@@ -133,6 +138,9 @@ foreach_with_prefix opts {
            gdb_rename_execfile ${binfile} ${binfile1}
            gdb_rename_execfile ${binfile2} ${binfile}
            gdb_run_cmd
+           if { $readnow_p } {
+               setup_kfail "gdb/26800" *-*-*
+           }
            gdb_test "" "Breakpoint.* foo .* at .*:9.*" \
                "second pass: run to foo() second time"
        }
This page took 0.025853 seconds and 4 git commands to generate.