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 1b668ebffd2fffa1ff89a3c4501aaaa89f6336a7..3e6ba4fed03dc5e1bdb1925212abe38729f1d7cf 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 115d7eb2970cb553457fa87f6c2ae653c439cf5d..b169c62a464396d426e514db7a091158fccac732 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