This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/5 v2] Add emit_less_unsigned test in trace-condition.exp
- From: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- Date: Fri, 27 May 2016 15:05:14 -0400
- Subject: [PATCH 3/5 v2] Add emit_less_unsigned test in trace-condition.exp
- Authentication-results: sourceware.org; auth=none
- References: <1464375916-16369-1-git-send-email-antoine dot tremblay at ericsson dot com>
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
--
2.8.1