aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorPaul Gilliam <pgilliam@us.ibm.com>2006-01-17 22:21:13 +0000
committerPaul Gilliam <pgilliam@us.ibm.com>2006-01-17 22:21:13 +0000
commit0d1243d9e6e71bccc2e8b0c995d28c403b1eac0d (patch)
tree7a7821d46df8565a28d921f9e4840abd13736100 /gdb/ppc-tdep.h
parentfe1b8b76fda5fe9b9612c6ca76c11a9e258a3750 (diff)
downloadgdb-0d1243d9e6e71bccc2e8b0c995d28c403b1eac0d.zip
gdb-0d1243d9e6e71bccc2e8b0c995d28c403b1eac0d.tar.gz
gdb-0d1243d9e6e71bccc2e8b0c995d28c403b1eac0d.tar.bz2
2006-01-16 Paul Gilliam <pgilliam@us.ibm.com>
* ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. * rs6000-tdep.c (insn_changes_sp_or_jumps) (rs6000_in_function_epilogue_p): New functions. (rs6000_gdbarch_init): Set in_function_epilogue_p.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 460c3f0..1a25648 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -384,4 +384,7 @@ enum
/* Instruction size. */
#define PPC_INSN_SIZE 4
+/* Estimate for the maximum number of instrctions in a function epilogue. */
+#define PPC_MAX_EPILOGUE_INSTRUCTIONS 52
+
#endif /* ppc-tdep.h */