diff options
Diffstat (limited to 'gdb/config/sparc/tm-sparc.h')
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 15 |
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. */ |