Whoops, sorry for that mail - I typoed gdb-patches to gcc-patches.
On 20/02/16 14:56, Marcin Kościelnicki wrote:
While groveling through the old PPC64 tracepoint support patch, I've noticed a few target dependencies in the testsuite that both me and Antoine missed for s390 and ARM tracepoints, respectively. This patch moves them all to one place, so that anyone working on a new target will hopefully see the whole set of needed changes. For some strange reason, the call_insn setting code already knew about powerpc, s390, and mips - I went ahead and added the remaining information about those. I'm not particularly sure if I got mips right, but that won't matter anyway until someone actually writes tracepoint support for that. Tested on x86_64, i386, ppc, ppc64, ppc64le, s390, s390x. Would be good to test it on aarch64. gdb/testsuite/ChangeLog: * gdb.trace/entry-values.exp: Move call_insn setting to trace-support.exp. * gdb.trace/ftrace.exp: Move arg0exp setting to trace-support.exp. * gdb.trace/mi-trace-unavailable.exp (proc_trace_unavailable): Move pcnum setting to trace-support.exp, change fixed register 0 to gpr0num variable. * lib/trace-support.exp: Add setting pcnum, gpr0num, arg0exp, call_insn; add powerpc, s390, and mips support.