mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
2007-05-14 Markus Deuling <deuling@de.ibm.com>
* gdb.base/gcore.exp: Initialize variable core_supported.
This commit is contained in:
parent
46ba6afa96
commit
09db0d03ed
@ -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.
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user