aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Tremblay <antoine.tremblay@ericsson.com>2016-05-30 11:24:44 -0400
committerAntoine Tremblay <antoine.tremblay@ericsson.com>2016-05-30 12:51:13 -0400
commita781823347ec9cd84e5ccc0bb8ddde48f8d302b6 (patch)
tree7ba4f45eefaa5eec7e4237dffb16b72d5e78782b
parent0d33646690c2e88624cd9646539d63d4144d03e8 (diff)
downloadgdb-a781823347ec9cd84e5ccc0bb8ddde48f8d302b6.zip
gdb-a781823347ec9cd84e5ccc0bb8ddde48f8d302b6.tar.gz
gdb-a781823347ec9cd84e5ccc0bb8ddde48f8d302b6.tar.bz2
Add emit_less_unsigned test in trace-condition.exp
This patch adds coverage for emit_less_unsigned. gdb/testsuite/ChangeLog: * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.trace/trace-condition.exp3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1b668eb..3e6ba4f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
+ * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
+
+2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
* gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
Move condition tests...
* gdb.trace/trace-condition.exp: Here.
diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp
index 115d7eb..b169c62 100644
--- a/gdb/testsuite/gdb.trace/trace-condition.exp
+++ b/gdb/testsuite/gdb.trace/trace-condition.exp
@@ -179,6 +179,9 @@ foreach trace_command { "trace" "ftrace" } {
test_tracepoints $trace_command "21 < 42" 10
test_tracepoints $trace_command "61 < 42" 0
+ test_tracepoints $trace_command "21U < 42U" 10
+ test_tracepoints $trace_command "61U < 42U" 0
+
test_tracepoints $trace_command "42 <= 42" 10
test_tracepoints $trace_command "42 <= 11" 0