aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorWei-cheng Wang <cole945@gmail.com>2015-01-17 14:30:33 +0800
committerCole Wang <cole945@gmail.com>2015-01-17 19:48:22 +0800
commitb4cdae6fe51e532e0b1069c6960b14a610182d14 (patch)
treeecda676bcc94e5cd03ac293b602d1dd99b82f2bc /gdb/ppc-tdep.h
parent2608dbf8a3ee666ac0a7d5d7c45611d489edcda5 (diff)
downloadfsf-binutils-gdb-b4cdae6fe51e532e0b1069c6960b14a610182d14.zip
fsf-binutils-gdb-b4cdae6fe51e532e0b1069c6960b14a610182d14.tar.gz
fsf-binutils-gdb-b4cdae6fe51e532e0b1069c6960b14a610182d14.tar.bz2
Reverse debugging for PowerPC.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 11d505c..68f3a74 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -259,6 +259,8 @@ struct gdbarch_tdep
/* ISA-specific types. */
struct type *ppc_builtin_type_vec64;
struct type *ppc_builtin_type_vec128;
+
+ int (*ppc_syscall_record) (struct regcache *regcache);
};
@@ -318,6 +320,9 @@ extern CORE_ADDR ppc_insn_d_field (unsigned int insn);
extern CORE_ADDR ppc_insn_ds_field (unsigned int insn);
+extern int ppc_process_record (struct gdbarch *gdbarch,
+ struct regcache *regcache, CORE_ADDR addr);
+
/* Instruction size. */
#define PPC_INSN_SIZE 4