gdbserver/s390: Switch on tracepoint support.
authorMarcin Kościelnicki <koriakin@0x04.net>
Mon, 9 Nov 2015 13:52:13 +0000 (14:52 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Tue, 29 Mar 2016 21:08:05 +0000 (23:08 +0200)
commita4105d04e19efdf89d0fa56b62675d7d7ee82a9b
treed98932a5e0a2a8c44dbf9b7d477f2a25475d5b18
parent444bca650a302ae800bd7e7d3fba50e072f555df
gdbserver/s390: Switch on tracepoint support.

Also adds s390 support to gdb.trace testsuite.

gdb/gdbserver/ChangeLog:

* linux-s390-low.c (s390_supports_tracepoints): New function.
(struct linux_target_ops): Fill supports_tracepoints hook.

gdb/testsuite/ChangeLog:

* gdb.trace/ftrace.exp: Set arg0exp for s390.
* gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
* gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
variable for GPR 0 instead of assuming it is register 0.
* gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
* lib/trace-support.exp: Add s390 registers.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-s390-low.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/ftrace.exp
gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp
gdb/testsuite/gdb.trace/mi-trace-unavailable.exp
gdb/testsuite/gdb.trace/trace-common.h
gdb/testsuite/lib/trace-support.exp