aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-01 01:07:35 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-01 01:07:35 +0000
commit3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3 (patch)
tree9267de9f9a8e70af42a23d923d9d3ea6f918dc8e /gdb/ppc-tdep.h
parent5b04e9c073eecd077008c60cb91a21c0f761bec5 (diff)
downloadgdb-3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3.zip
gdb-3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3.tar.gz
gdb-3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3.tar.bz2
value_ptr tweeks.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index c22ec13..b06e64e 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