aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/trace-condition.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.trace/trace-condition.exp')
-rw-r--r--gdb/testsuite/gdb.trace/trace-condition.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp
index ca3232f..115d7eb 100644
--- a/gdb/testsuite/gdb.trace/trace-condition.exp
+++ b/gdb/testsuite/gdb.trace/trace-condition.exp
@@ -137,6 +137,12 @@ foreach trace_command { "trace" "ftrace" } {
test_tracepoints $trace_command "anarg == 100 && globvar == 1" 1 18955_x86_64_failure
# Test various operations to cover as many opcodes as possible.
+ test_tracepoints $trace_command "21 == 21" 10
+ test_tracepoints $trace_command "11 == 21" 0
+
+ test_tracepoints $trace_command "21 != 42" 10
+ test_tracepoints $trace_command "42 != 42" 0
+
test_tracepoints $trace_command "21 + 21 == 42" 10
test_tracepoints $trace_command "21 + 21 == 11" 0