From 09db0d03edb231a8f7ed76d0bffec6df5e7c0f7b Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 14 May 2007 21:04:15 +0000 Subject: [PATCH] 2007-05-14 Markus Deuling * gdb.base/gcore.exp: Initialize variable core_supported. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/gcore.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * gdb.base/gcore.exp: Initialize variable core_supported. + 2007-05-14 Daniel Jacobowitz * 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 } -- 2.30.2