From: Andrew Cagney Date: Thu, 1 Nov 2001 01:07:35 +0000 (+0000) Subject: value_ptr tweeks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3;p=binutils-gdb.git value_ptr tweeks. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fc2044d90f7..cddfecc0394 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-10-30 Andrew Cagney + + * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with + ``struct value *''. + (struct frame_info, struct value): Add opaque declarations. + 2001-10-31 Corinna Vinschen * arch-utils.c (generic_in_solib_call_trampoline): New function. diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index c22ec13bbe3..b06e64ee7c6 100644 --- a/gdb/ppc-tdep.h +++ b/gdb/ppc-tdep.h @@ -19,13 +19,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef PPC_TDEP_H +#define PPC_TDEP_H + +struct frame_info; +struct value; + /* From ppc-linux-tdep.c... */ CORE_ADDR ppc_linux_frame_saved_pc (struct frame_info *fi); void ppc_linux_init_extra_frame_info (int fromleaf, struct frame_info *); int ppc_linux_frameless_function_invocation (struct frame_info *); void ppc_linux_frame_init_saved_regs (struct frame_info *); CORE_ADDR ppc_linux_frame_chain (struct frame_info *); -CORE_ADDR ppc_sysv_abi_push_arguments (int, value_ptr *, CORE_ADDR, int, +CORE_ADDR ppc_sysv_abi_push_arguments (int, struct value **, CORE_ADDR, int, CORE_ADDR); int ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache); @@ -47,3 +53,5 @@ CORE_ADDR rs6000_frame_chain (struct frame_info *); #define PPC_CTR_REGNUM 68 /* Count register */ #define PPC_XER_REGNUM 69 /* Integer exception register */ #define PPC_MQ_REGNUM 70 /* Multiply/Divide extension register */ + +#endif