This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Add PPC_INSN_SIZE to ppc-tdep.h
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Fri, 28 Oct 2005 20:23:52 +0200 (CEST)
- Subject: [commit] Add PPC_INSN_SIZE to ppc-tdep.h
It's used in ppcobsd-tdep.c, but for some reason I forgot to commit it.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* ppc-tdep.h (PPC_INSN_SIZE): Define.
Index: ppc-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/ppc-tdep.h,v
retrieving revision 1.47
diff -u -p -r1.47 ppc-tdep.h
--- ppc-tdep.h 1 Sep 2005 18:09:41 -0000 1.47
+++ ppc-tdep.h 28 Oct 2005 18:22:25 -0000
@@ -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 */