public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom de Vries <vries@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/testsuite] Use gdb_gcore_cmd in gdb.threads/gcore-thread.exp Date: Wed, 16 Nov 2022 16:14:39 +0000 (GMT) [thread overview] Message-ID: <20221116161439.E928B395B43F@sourceware.org> (raw) 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" }
reply other threads:[~2022-11-16 16:14 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221116161439.E928B395B43F@sourceware.org \ --to=vries@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).