public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Use gdb_gcore_cmd in gdb.threads/gcore-thread.exp
@ 2022-11-16 16:14 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-11-16 16:14 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cf76db71dd68d33593fdd5b6825ddc0e62735e50

commit cf76db71dd68d33593fdd5b6825ddc0e62735e50
Author: Tom de Vries <tdevries@suse.de>
Date:   Wed Nov 16 17:14:34 2022 +0100

    [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.

Diff:
---
 gdb/testsuite/gdb.threads/gcore-thread.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.threads/gcore-thread.exp b/gdb/testsuite/gdb.threads/gcore-thread.exp
index 748831ed28e..4a77fd69509 100644
--- a/gdb/testsuite/gdb.threads/gcore-thread.exp
+++ b/gdb/testsuite/gdb.threads/gcore-thread.exp
@@ -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"
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-16 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 16:14 [binutils-gdb] [gdb/testsuite] Use gdb_gcore_cmd in gdb.threads/gcore-thread.exp Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).