summaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-10-28 18:23:32 +0000
committerMark Kettenis <kettenis@gnu.org>2005-10-28 18:23:32 +0000
commitf136800e7361877405f12eaffddb44a5216c0a30 (patch)
treeb9f25101649f38c4a37dcf6298c641d0bf11a23a /gdb/ppc-tdep.h
parent0638f7812d49c80a9f1956c34af055be9c07dd53 (diff)
downloadgdb-f136800e7361877405f12eaffddb44a5216c0a30.tar.gz
* ppc-tdep.h (PPC_INSN_SIZE): Define.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 5037c11788a..9abbf5c37b6 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -1,7 +1,7 @@
/* Target-dependent code for GDB, the GNU debugger.
- Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation,
- Inc.
+ Copyright 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -381,4 +381,7 @@ enum
ppc_spr_pbu2 = 1023
};
-#endif
+/* Instruction size. */
+#define PPC_INSN_SIZE 4
+
+#endif /* ppc-tdep.h */