Add emit_less_unsigned test in trace-condition.exp
authorAntoine Tremblay <antoine.tremblay@ericsson.com>
Mon, 30 May 2016 15:24:44 +0000 (11:24 -0400)
committerAntoine Tremblay <antoine.tremblay@ericsson.com>
Mon, 30 May 2016 16:51:13 +0000 (12:51 -0400)
This patch adds coverage for emit_less_unsigned.

gdb/testsuite/ChangeLog:

* gdb.trace/trace-condition.exp: Add emit_less_unsigned test.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/trace-condition.exp

index 1b668eb..3e6ba4f 100644 (file)
@@ -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.
index 115d7eb..b169c62 100644 (file)
@@ -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