Avoid producing broken non-native core files
[deliverable/binutils-gdb.git] / gdb / testsuite / lib / gdb.exp
index bde4e4888575094f27229337176a520df43a4d9b..e4a613422bbfd80b7d7222ff630f7fc0d9787649 100644 (file)
@@ -3183,7 +3183,7 @@ proc gdb_gcore_cmd {core test} {
            verbose -log "'gcore' command undefined in gdb_gcore_cmd"
        }
 
-       -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" {
+       -re "(?:Can't create a corefile|Target does not support core file generation\\.)\[\r\n\]+$gdb_prompt $" {
            unsupported $test
        }
     }
This page took 0.023903 seconds and 4 git commands to generate.