aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-ppc-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-ppc-low.cc')
-rw-r--r--gdbserver/linux-ppc-low.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc
index f3837e4..a0f1ba0 100644
--- a/gdbserver/linux-ppc-low.cc
+++ b/gdbserver/linux-ppc-low.cc
@@ -44,6 +44,18 @@
#define PPC_LI(insn) (PPC_SEXT (PPC_FIELD (insn, 6, 24), 24) << 2)
#define PPC_BD(insn) (PPC_SEXT (PPC_FIELD (insn, 16, 14), 14) << 2)
+/* Linux target op definitions for the PowerPC architecture. */
+
+class ppc_target : public linux_process_target
+{
+public:
+
+};
+
+/* The singleton target ops object. */
+
+static ppc_target the_ppc_target;
+
/* Holds the AT_HWCAP auxv entry. */
static unsigned long ppc_hwcap;
@@ -3410,6 +3422,10 @@ struct linux_target_ops the_low_target = {
ppc_get_ipa_tdesc_idx,
};
+/* The linux target ops object. */
+
+linux_process_target *the_linux_target = &the_ppc_target;
+
void
initialize_low_arch (void)
{