From patchwork Fri May 27 19:05:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tremblay X-Patchwork-Id: 12581 Received: (qmail 129256 invoked by alias); 27 May 2016 19:05:32 -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 129195 invoked by uid 89); 27 May 2016 19:05:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy= X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 27 May 2016 19:05:31 +0000 Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id 80.AF.09012.4C198475; Fri, 27 May 2016 20:28:21 +0200 (CEST) Received: from elxa4wqvvz1.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.78) with Microsoft SMTP Server (TLS) id 14.3.294.0; Fri, 27 May 2016 15:05:25 -0400 From: Antoine Tremblay To: CC: Antoine Tremblay Subject: [PATCH 3/5 v2] Add emit_less_unsigned test in trace-condition.exp Date: Fri, 27 May 2016 15:05:14 -0400 Message-ID: <1464375916-16369-3-git-send-email-antoine.tremblay@ericsson.com> In-Reply-To: <1464375916-16369-1-git-send-email-antoine.tremblay@ericsson.com> References: <1464375916-16369-1-git-send-email-antoine.tremblay@ericsson.com> MIME-Version: 1.0 X-IsSubscribed: yes This patch adds coverage for emit_less_unsigned. gdb/testsuite/ChangeLog: * gdb.trace/trace-condition.exp: Add emit_less_unsigned test. --- gdb/testsuite/gdb.trace/trace-condition.exp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp index c4dc5fe..e179828 100644 --- a/gdb/testsuite/gdb.trace/trace-condition.exp +++ b/gdb/testsuite/gdb.trace/trace-condition.exp @@ -151,6 +151,7 @@ foreach trace_command { "trace" "ftrace" } { test_tracepoints $trace_command "(0xaaaaaaaa ^ 0x55555555) == 0xffffffff" 10 test_tracepoints $trace_command "~0xaaaaaaaa == 0x55555555" 10 test_tracepoints $trace_command "21 < 42" 10 + test_tracepoints $trace_command "21U < 42U" 10 test_tracepoints $trace_command "42 <= 42" 10 test_tracepoints $trace_command "42 >= 42" 10 test_tracepoints $trace_command "42 > 21" 10 @@ -175,6 +176,7 @@ foreach trace_command { "trace" "ftrace" } { test_tracepoints $trace_command "(0xaaaaaaaa ^ 0x55555555) == 0xaaaaaaaa" 0 test_tracepoints $trace_command "~0xaaaaaaaa == 0x11111111" 0 test_tracepoints $trace_command "61 < 42" 0 + test_tracepoints $trace_command "61U < 42U" 0 test_tracepoints $trace_command "42 <= 11" 0 test_tracepoints $trace_command "11 >= 42" 0 test_tracepoints $trace_command "11 > 21" 0