aboutsummaryrefslogtreecommitdiff
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
commita0c758791c4504adb6af48e7cd9044521f8cd90b (patch)
tree19ced78b81031939db46be2166b758238e5033b9 /gdb/ppc-tdep.h
parent346e281c43630a5054d66acbc35c0f6aa9dd0224 (diff)
downloadgdb-a0c758791c4504adb6af48e7cd9044521f8cd90b.zip
gdb-a0c758791c4504adb6af48e7cd9044521f8cd90b.tar.gz
gdb-a0c758791c4504adb6af48e7cd9044521f8cd90b.tar.bz2
* 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 5037c11..9abbf5c 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 */