public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Markus Metzger <mmetzger@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb, testsuite: extend gdb_test_multiple checks Date: Tue, 18 Oct 2022 13:24:42 +0000 (GMT) [thread overview] Message-ID: <20221018132442.AC0523858403@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=44288716537103644dfdd0c72f03be737cafb768 commit 44288716537103644dfdd0c72f03be737cafb768 Author: Markus Metzger <markus.t.metzger@intel.com> Date: Fri Feb 18 12:16:33 2022 +0100 gdb, testsuite: extend gdb_test_multiple checks Check for warning: Corrupted shared library list and for Invalid cast. warning: Probes-based dynamic linker interface failed. Reverting to original interface. in gdb_test_multiple. Diff: --- gdb/testsuite/lib/gdb.exp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index bfa9fec628e..36bcfacfdd0 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1188,6 +1188,14 @@ proc gdb_test_multiple { command message args } { } set result -1 } + -re "Corrupted shared library list.*$prompt_regexp" { + fail "$message (shared library list corrupted)" + set result -1 + } + -re "Invalid cast\.\r\nwarning: Probes-based dynamic linker interface failed.*$prompt_regexp" { + fail "$message (probes interface failure)" + set result -1 + } } append code $processed_code
reply other threads:[~2022-10-18 13:24 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=20221018132442.AC0523858403@sourceware.org \ --to=mmetzger@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).