From a781823347ec9cd84e5ccc0bb8ddde48f8d302b6 Mon Sep 17 00:00:00 2001 From: Antoine Tremblay Date: Mon, 30 May 2016 11:24:44 -0400 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.trace/trace-condition.exp | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1b668ebffd2..3e6ba4fed03 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-05-30 Antoine Tremblay + + * gdb.trace/trace-condition.exp: Add emit_less_unsigned test. + 2016-05-30 Antoine Tremblay * gdb.trace/ftrace.exp (test_ftrace_condition): Remove. diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp index 115d7eb2970..b169c62a464 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 -- 2.30.2