[gdb/testsuite] Use gdb_gcore_cmd in gdb.threads/gcore-thread.exp
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.
This commit is contained in:
parent
d2bbd19d8e
commit
cf76db71dd
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user