diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-01-07 16:48:02 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-03-09 18:47:46 +0100 |
commit | b04fd3bec955560e00fb0cf6b75e36187a207113 (patch) | |
tree | abfb621ae2f195b10b3ca5f49618b7dc1bc2a7f8 /gdb/testsuite/lib | |
parent | 98fa59e9b06fa479cafb852ef87e5a9bfd87ae54 (diff) | |
download | gdb-b04fd3bec955560e00fb0cf6b75e36187a207113.zip gdb-b04fd3bec955560e00fb0cf6b75e36187a207113.tar.gz gdb-b04fd3bec955560e00fb0cf6b75e36187a207113.tar.bz2 |
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/lib')
-rw-r--r-- | gdb/testsuite/lib/trace-support.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/trace-support.exp b/gdb/testsuite/lib/trace-support.exp index f593c43..372a595 100644 --- a/gdb/testsuite/lib/trace-support.exp +++ b/gdb/testsuite/lib/trace-support.exp @@ -36,6 +36,10 @@ if [is_amd64_regs_target] { set fpreg "x29" set spreg "sp" set pcreg "pc" +} elseif [istarget "powerpc*-*-*"] { + set fpreg "r31" + set spreg "r1" + set pcreg "pc" } else { set fpreg "fp" set spreg "sp" |