mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
[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:
@ -106,7 +106,7 @@ foreach symbol {__stack_user stack_used} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if {"$core0file" != ""} {
|
if {"$core0file" != ""} {
|
||||||
gdb_test "gcore $core0file" "Saved corefile .*" "save a zeroed-threads corefile"
|
gdb_gcore_cmd $core0file "save a zeroed-threads corefile"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user