gdb/testsuite/
* gdb.threads/gcore-thread.exp: Set the global core_supported to
0, before testing gcore.
+2011-09-02 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.threads/gcore-thread.exp: Set the global core_supported to
+ 0, before testing gcore.
+
2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* dw2-ifort-parameter-debug.S: Update copyright year.
set escapedfilename [string_to_regexp $corefile]
# Drop corefile
+set core_supported 0
gdb_test_multiple "gcore $corefile" "save a corefile" \
{
-re "Saved corefile ${escapedfilename}\[\r\n\]+$gdb_prompt $" {
}
-re "Can't create a corefile\[\r\n\]+$gdb_prompt $" {
unsupported "save a corefile"
- global core_supported
- set core_supported 0
}
}
-global core_supported
if {!$core_supported} {
return -1
}