aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent5b04e9c073eecd077008c60cb91a21c0f761bec5 (diff)
downloadbinutils-3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3.zip
binutils-3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3.tar.gz
binutils-3a1c5313dadad14cea5b04fe5b3eb1ff74a995c3.tar.bz2
value_ptr tweeks.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/ppc-tdep.h10
2 files changed, 15 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fc2044d..cddfecc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-30 Andrew Cagney <ac131313@redhat.com>
+
+ * 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 <vinschen@redhat.com>
* arch-utils.c (generic_in_solib_call_trampoline): New function.
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