[3/5,v2] Add emit_less_unsigned test in trace-condition.exp
Commit Message
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(+)
Comments
On 05/27/2016 08:05 PM, Antoine Tremblay wrote:
> This patch adds coverage for emit_less_unsigned.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
"tests" :-)
LGTM.
Thanks,
Pedro Alves
@@ -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