diff options
author | Pierre Langlois <pierre.langlois@arm.com> | 2015-09-21 15:01:05 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-09-21 15:01:05 +0100 |
commit | 7041adf41fc291659fa4d102b50539946403f97e (patch) | |
tree | 4e12d501275c7dee94a9dfd1b71a25b6d7494b2a /gdb/testsuite/gdb.trace/ftrace.c | |
parent | afbe19f83ad1af46e7b1f1639d9fa0eb873dcbb5 (diff) | |
download | gdb-7041adf41fc291659fa4d102b50539946403f97e.zip gdb-7041adf41fc291659fa4d102b50539946403f97e.tar.gz gdb-7041adf41fc291659fa4d102b50539946403f97e.tar.bz2 |
Enable fast tracepoint tests
gdb/testsuite/ChangeLog:
* gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
instruction.
* gdb.trace/pendshr1.c (pendfunc): Likewise.
* gdb.trace/pendshr2.c (pendfunc2): Likewise.
* gdb.trace/range-stepping.c: Likewise.
* gdb.trace/trace-break.c: Likewise.
* gdb.trace/trace-mt.c (thread_function): Likewise.
* gdb.trace/ftrace.c (marker): Likewise.
* gdb.trace/trace-condition.c (marker): Likewise.
* gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
* gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
is_aarch64_target.
Diffstat (limited to 'gdb/testsuite/gdb.trace/ftrace.c')
-rw-r--r-- | gdb/testsuite/gdb.trace/ftrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/ftrace.c b/gdb/testsuite/gdb.trace/ftrace.c index f522e6f..7373d66 100644 --- a/gdb/testsuite/gdb.trace/ftrace.c +++ b/gdb/testsuite/gdb.trace/ftrace.c @@ -42,6 +42,8 @@ marker (int anarg) SYMBOL(set_point) ":\n" #if (defined __x86_64__ || defined __i386__) " call " SYMBOL(func) "\n" +#elif (defined __aarch64__) + " nop\n" #endif ); |