diff options
author | Paul Gilliam <pgilliam@us.ibm.com> | 2006-01-17 22:21:13 +0000 |
---|---|---|
committer | Paul Gilliam <pgilliam@us.ibm.com> | 2006-01-17 22:21:13 +0000 |
commit | 0d1243d9e6e71bccc2e8b0c995d28c403b1eac0d (patch) | |
tree | 7a7821d46df8565a28d921f9e4840abd13736100 /gdb/ppc-tdep.h | |
parent | fe1b8b76fda5fe9b9612c6ca76c11a9e258a3750 (diff) | |
download | gdb-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.h | 3 |
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 */ |