]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Fix argument to compiled_cond, and add cases for compiled-condition.
authorWei-cheng Wang <cole945@gmail.com>
Wed, 16 Sep 2015 15:20:51 +0000 (16:20 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 16 Sep 2015 16:17:50 +0000 (17:17 +0100)
commitd78908cff50f281dab6390646fb1b7c58236d83e
treeec0632444f5315d915af22b6716f357576fd9413
parent1ed415e2b9b985aac087c35949d0e1e489ab496d
Fix argument to compiled_cond, and add cases for compiled-condition.

This patch fixes the argument passed to compiled_cond.  It should be
regs buffer instead of tracepoint_hit_ctx.  Test case is added as
well for testing compiled-cond.

gdb/gdbserver/ChangeLog

2015-09-16  Wei-cheng Wang  <cole945@gmail.com>

* tracepoint.c (eval_result_type): Change prototype.
(condition_true_at_tracepoint): Fix argument to compiled_cond.

gdb/testsuite/ChangeLog

2015-09-16  Wei-cheng Wang  <cole945@gmail.com>

* gdb.trace/ftrace.exp: (test_ftrace_condition) New function
for testing bytecode compilation.
gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/ftrace.exp