gdb/python: don't allow the user to delete window title attributes
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / reread.exp
index e38a5f200d5aa4d360c464a460312ab5f452ed27..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
@@ -13,8 +13,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-set prototypes 1
-
 # Build programs in PIE mode, to reproduce PR 21555.
 foreach_with_prefix opts {
     { "" "" }
@@ -69,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" \
@@ -99,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
        }
 
@@ -135,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.025755 seconds and 4 git commands to generate.