This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Add emit_less_unsigned test in trace-condition.exp


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a781823347ec9cd84e5ccc0bb8ddde48f8d302b6

commit a781823347ec9cd84e5ccc0bb8ddde48f8d302b6
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Date:   Mon May 30 11:24:44 2016 -0400

    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.

Diff:
---
 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 1b668eb..3e6ba4f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp
index 115d7eb..b169c62 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]