aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-07-26 04:12:12 +0000
committerFred Fish <fnf@specifix.com>1996-07-26 04:12:12 +0000
commited393c169bc7fc344b3574f26d4529e70ec5e081 (patch)
tree988d7cf9e016b6de33a082e72fb5aecb6a60212c /gdb/config/sparc
parentb607efe7149f91512dc5fd9dbfc4c6156cdf9a93 (diff)
downloadgdb-ed393c169bc7fc344b3574f26d4529e70ec5e081.zip
gdb-ed393c169bc7fc344b3574f26d4529e70ec5e081.tar.gz
gdb-ed393c169bc7fc344b3574f26d4529e70ec5e081.tar.bz2
See the huge ChangeLog entry that has the header:
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for details about these changes. I was going to include the complete entry in the checkin message but it was apparently so large it caused cvs to dump core.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/tm-sparc.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 444bb43..663f6d9 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -336,6 +336,10 @@ sparc_extract_struct_value_address PARAMS ((char [REGISTER_BYTES]));
have been stashed (the frame is of variable size, so their location
is not fixed), it's convenient to record them in the frame info. */
+#ifdef __STDC__
+struct frame_info;
+#endif
+
#define EXTRA_FRAME_INFO \
CORE_ADDR bottom; \
int flat; \
@@ -348,7 +352,7 @@ sparc_extract_struct_value_address PARAMS ((char [REGISTER_BYTES]));
#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) \
sparc_init_extra_frame_info (fromleaf, fci)
-extern void sparc_init_extra_frame_info ();
+extern void sparc_init_extra_frame_info PARAMS((int, struct frame_info *));
#define PRINT_EXTRA_FRAME_INFO(fi) \
{ \
@@ -357,10 +361,6 @@ extern void sparc_init_extra_frame_info ();
(fi)->pc_addr, (fi)->fp_addr); \
}
-#ifdef __STDC__
-struct frame_info;
-#endif
-
#define FRAME_CHAIN(thisframe) (sparc_frame_chain (thisframe))
extern CORE_ADDR sparc_frame_chain PARAMS ((struct frame_info *));
@@ -390,7 +390,7 @@ extern CORE_ADDR sparc_frame_chain PARAMS ((struct frame_info *));
/* Where is the PC for a specific frame */
#define FRAME_SAVED_PC(FRAME) sparc_frame_saved_pc (FRAME)
-extern CORE_ADDR sparc_frame_saved_pc ();
+extern CORE_ADDR sparc_frame_saved_pc PARAMS ((struct frame_info *));
/* If the argument is on the stack, it will be here. */
#define FRAME_ARGS_ADDRESS(fi) ((fi)->frame)
@@ -478,7 +478,7 @@ extern CORE_ADDR sparc_frame_saved_pc ();
#define PUSH_DUMMY_FRAME sparc_push_dummy_frame ()
#define POP_FRAME sparc_pop_frame ()
-void sparc_push_dummy_frame (), sparc_pop_frame ();
+void sparc_push_dummy_frame PARAMS ((void)), sparc_pop_frame PARAMS ((void));
/* This sequence of words is the instructions
save %sp,-0x140,%sp
@@ -598,7 +598,6 @@ arguments. */
/* Sparc has no reliable single step ptrace call */
#define NO_SINGLE_STEP 1
-extern void single_step PARAMS ((int));
/* We need more arguments in a frame specification for the
"frame" or "info frame" command. */