From patchwork Tue Feb 18 12:43:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Strasuns, Mihails" X-Patchwork-Id: 38201 Received: (qmail 112153 invoked by alias); 18 Feb 2020 12:42:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 112144 invoked by uid 89); 18 Feb 2020 12:42:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=tel, Tel, office X-HELO: mga03.intel.com Received: from mga03.intel.com (HELO mga03.intel.com) (134.134.136.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2020 12:42:40 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Feb 2020 04:42:37 -0800 Received: from labpc7920x-08.iul.intel.com (HELO localhost) ([172.28.49.153]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Feb 2020 04:42:36 -0800 From: Mihails Strasuns To: gdb-patches@sourceware.org Cc: Mihails Strasuns Subject: [PATCH 1/7] [gdb/testsuite] allow more registers in reader test Date: Tue, 18 Feb 2020 13:43:33 +0100 Message-Id: <20200218124339.11270-2-mihails.strasuns@intel.com> In-Reply-To: <20200218124339.11270-1-mihails.strasuns@intel.com> References: <20200218124339.11270-1-mihails.strasuns@intel.com> MIME-Version: 1.0 X-IsSubscribed: yes Fixes jit-reader test failures on systems that have more registers than expected by the current condition. gdb/testsuite/ChangeLog: 2020-02-18 Mihails Strasuns * gdb.base/jit-reader.exp: relax register output check Signed-off-by: Mihails Strasuns Change-Id: I227ab8691b2363d626f7100216477ab637f619fa --- gdb/testsuite/gdb.base/jit-reader.exp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/testsuite/gdb.base/jit-reader.exp b/gdb/testsuite/gdb.base/jit-reader.exp index 7852a5b550..5140e3d930 100644 --- a/gdb/testsuite/gdb.base/jit-reader.exp +++ b/gdb/testsuite/gdb.base/jit-reader.exp @@ -92,6 +92,7 @@ proc info_registers_current_frame {sp} { "es $hex +$neg_decimal" \ "fs $hex +$neg_decimal" \ "gs $hex +$neg_decimal" \ + ".*" \ ] } @@ -196,6 +197,7 @@ proc jit_reader_test {} { "es " \ "fs " \ "gs " \ + ".*" \ ] # Make sure that "info frame" doesn't crash.