summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/ftrace.exp
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2016-01-07 16:48:02 +0100
committerMarcin Koƛcielnicki <koriakin@0x04.net>2016-03-09 18:47:46 +0100
commitb04fd3bec955560e00fb0cf6b75e36187a207113 (patch)
treeabfb621ae2f195b10b3ca5f49618b7dc1bc2a7f8 /gdb/testsuite/gdb.trace/ftrace.exp
parent98fa59e9b06fa479cafb852ef87e5a9bfd87ae54 (diff)
downloadbinutils-gdb-b04fd3bec955560e00fb0cf6b75e36187a207113.tar.gz
gdb: Add tracepoint support for powerpc.
gdb/gdbserver/ChangeLog: * linux-ppc-low.c (ppc_supports_tracepoints): New function. (struct linux_target_ops): Wire in the above. gdb/testsuite/ChangeLog: * gdb.trace/ftrace.exp: Set arg0exp for ppc. * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc. * gdb.trace/pending.exp: Accept leading dot before function name. * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc. * lib/trace-support.exp: Set registers for ppc.
Diffstat (limited to 'gdb/testsuite/gdb.trace/ftrace.exp')
-rw-r--r--gdb/testsuite/gdb.trace/ftrace.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp
index a1d47718e46..349f4e2d666 100644
--- a/gdb/testsuite/gdb.trace/ftrace.exp
+++ b/gdb/testsuite/gdb.trace/ftrace.exp
@@ -242,6 +242,8 @@ if [is_amd64_regs_target] {
set arg0exp "*(int *) (\$ebp + 8)"
} elseif { [istarget "aarch64*-*-*"] } {
set arg0exp "\$x0"
+} elseif [istarget "powerpc*-*-*"] {
+ set arg0exp "\$r3"
} else {
set arg0exp ""
}