aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-14 21:04:15 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-14 21:04:15 +0000
commit09db0d03edb231a8f7ed76d0bffec6df5e7c0f7b (patch)
tree943d94ee53f9cbaef0f99049708e8f2348175f6a
parent46ba6afa9652fbc0fc3e3212516181909705fdda (diff)
downloadgdb-09db0d03edb231a8f7ed76d0bffec6df5e7c0f7b.zip
gdb-09db0d03edb231a8f7ed76d0bffec6df5e7c0f7b.tar.gz
gdb-09db0d03edb231a8f7ed76d0bffec6df5e7c0f7b.tar.bz2
2007-05-14 Markus Deuling <deuling@de.ibm.com>
* gdb.base/gcore.exp: Initialize variable core_supported.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/gcore.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 90073e4..fb69ddd 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 7c4b877..4555b0a 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
}