[pushed,gdb/testsuite] Use gdb_gcore_cmd in gdb.threads/gcore-thread.exp
Commit Message
I noticed a plain gcore command in test-case gdb.threads/gcore-thread.exp:
...
gdb_test "gcore $core0file" "Saved corefile .*" \
"save a zeroed-threads corefile"
...
Use gdb_gcore_cmd instead.
Tested on x86_64-linux.
---
gdb/testsuite/gdb.threads/gcore-thread.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: 3971740e4bba92209ab002d44ec3b20a36736ff0
@@ -106,7 +106,7 @@ foreach symbol {__stack_user stack_used} {
}
if {"$core0file" != ""} {
- gdb_test "gcore $core0file" "Saved corefile .*" "save a zeroed-threads corefile"
+ gdb_gcore_cmd $core0file "save a zeroed-threads corefile"
}