diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/gcore.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 90073e45483..fb69ddd3f0b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-05-14 Markus Deuling <deuling@de.ibm.com> + + * gdb.base/gcore.exp: Initialize variable core_supported. + 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also. diff --git a/gdb/testsuite/gdb.base/gcore.exp b/gdb/testsuite/gdb.base/gcore.exp index 7c4b877a3b4..4555b0a06fe 100644 --- a/gdb/testsuite/gdb.base/gcore.exp +++ b/gdb/testsuite/gdb.base/gcore.exp @@ -108,6 +108,7 @@ set pre_corefile_extern_array \ set escapedfilename [string_to_regexp ${objdir}/${subdir}/gcore.test] +set core_supported 0 gdb_test_multiple "gcore ${objdir}/${subdir}/gcore.test" \ "save a corefile" \ { @@ -123,7 +124,6 @@ gdb_test_multiple "gcore ${objdir}/${subdir}/gcore.test" \ } } -global core_supported if {!$core_supported} { return -1 } |