diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-11 13:16:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-11 13:16:30 +0000 |
commit | a78f21af4fad04e1348ded87bf843c82cba698db (patch) | |
tree | 137d3e2c9094ad9e992d31c3a6679a5424e9fe68 /gdb/v850-tdep.c | |
parent | d25d759de9c291677a64bf9e3150217a0a629e22 (diff) | |
download | gdb-a78f21af4fad04e1348ded87bf843c82cba698db.zip gdb-a78f21af4fad04e1348ded87bf843c82cba698db.tar.gz gdb-a78f21af4fad04e1348ded87bf843c82cba698db.tar.bz2 |
2003-06-11 Andrew Cagney <cagney@redhat.com>
* xstormy16-tdep.c (xstormy16_push_return_address): Make static.
(xstormy16_save_dummy_frame_tos): Make static.
(_initialize_xstormy16_tdep): Add declaration.
* vax-tdep.c (_initialize_vax_tdep): Add declaration.
* v850-tdep.c: Make local functions static.
(_initialize_v850_tdep): Add declaration.
* sparc-tdep.c: Make local functions static.
(_initialize_sparc_tdep): Add declaration.
* sh-tdep.c: Make local functions static.
(_initialize_sh_tdep): Add declaration.
* sh3-rom.c (_initialize_sh3_rom): Add declaration.
* s390-tdep.c: Make local functions static.
(_initialize_s390_tdep): Add declaration.
* dbxread.c (find_stab_function_addr): Make static.
* ppc-bdm.c (_initialize_bdm_ppc): Add declaration.
* ocd.c (_initialize_remote_ocd): Add declaration.
* dink32-rom.c (_initialize_dink32_rom): Add declaration.
* ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration.
* ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration.
* ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration.
* mips-tdep.c (_initialize_mips_tdep): Add declaration.
* remote-array.c (_initialize_array): Add declaration.
(_initialize_remote_monitors): Add declaration.
* remote-mips.c: Make local functions static.
(_initialize_remote_mips): Add declaration.
* mcore-tdep.c: Make all local functions static.
(_initialize_mcore_tdep): Add declaration.
* dbug-rom.c (_initialize_dbug_rom): Add declaration.
* abug-rom.c (_initialize_abug_rom): Add declaration.
* rom68k-rom.c (_initialize_rom68k): Add declaration.
* cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration.
* m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
* remote-est.c (_initialize_est): Add declaration.
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
(m68hc11_call_dummy_address): Make static.
* ia64-tdep.c: Make local functions static.
(_initialize_ia64_tdep): Add declaration.
* solib-legacy.c (_initialize_svr4_lm): Add declaration.
* monitor.c (monitor_wait_filter): Make static.
(_initialize_remote_monitors): Add declaration.
* remote-hms.c (_initialize_remote_hms): Add declaration.
* remote-e7000.c (fetch_regs_from_dump): Make static.
(expect_n): Make static.
(_initialize_remote_e7000): Add declaration.
* ser-e7kpc.c: Always include "defs.h".
(_initialize_ser_e7000pc): Add declaration.
* h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
* cris-tdep.c: Make all but one function static.
(_initialize_cris_tdep): Add declaration.
* solib-svr4.c (_initialize_svr4_solib): Add declaration.
* solib.c (update_solib_list): Make static.
(_initialize_solib): Add declaration.
* avr-tdep.c (avr_breakpoint_from_pc): Make static.
(_initialize_avr_tdep): Add declaration.
* remote-rdi.c (voiddummy): Make static.
(_initialize_remote_rdi): Add declaration.
* arm-tdep.c (_initialize_arm_tdep): Add declaration.
* remote-rdp.c (send_rdp): Make static.
(_initialize_remote_rdp): Add declaration.
* alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r-- | gdb/v850-tdep.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 618f62d..6b11340 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -797,7 +797,7 @@ v850_scan_prologue (CORE_ADDR pc, struct prologue_info *pi) when trying to get the value of caller-saves registers for an inner frame. */ -CORE_ADDR +static CORE_ADDR v850_find_callers_reg (struct frame_info *fi, int regnum) { for (; fi; fi = get_next_frame (fi)) @@ -819,7 +819,7 @@ v850_find_callers_reg (struct frame_info *fi, int regnum) just return the stack pointer that was in use at the time the function call was made. */ -CORE_ADDR +static CORE_ADDR v850_frame_chain (struct frame_info *fi) { struct prologue_info pi; @@ -850,7 +850,7 @@ v850_frame_chain (struct frame_info *fi) /* Function: skip_prologue Return the address of the first code past the prologue of the function. */ -CORE_ADDR +static CORE_ADDR v850_skip_prologue (CORE_ADDR pc) { CORE_ADDR func_addr, func_end; @@ -880,7 +880,7 @@ v850_skip_prologue (CORE_ADDR pc) This routine gets called when either the user uses the `return' command, or the call dummy breakpoint gets hit. */ -void +static void v850_pop_frame (void) { struct frame_info *frame = get_current_frame (); @@ -917,7 +917,7 @@ v850_pop_frame (void) Stack space for the args has NOT been allocated: that job is up to us. */ -CORE_ADDR +static CORE_ADDR v850_push_arguments (int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr) { @@ -997,7 +997,7 @@ v850_push_arguments (int nargs, struct value **args, CORE_ADDR sp, Set up the return address for the inferior function call. Needed for targets where we don't actually execute a JSR/BSR instruction */ -CORE_ADDR +static CORE_ADDR v850_push_return_address (CORE_ADDR pc, CORE_ADDR sp) { write_register (E_RP_REGNUM, CALL_DUMMY_ADDRESS ()); @@ -1011,7 +1011,7 @@ v850_push_return_address (CORE_ADDR pc, CORE_ADDR sp) instead of RP, because that's where "caller" of the dummy-frame will be found. */ -CORE_ADDR +static CORE_ADDR v850_frame_saved_pc (struct frame_info *fi) { if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (fi), get_frame_base (fi), @@ -1030,7 +1030,7 @@ v850_frame_saved_pc (struct frame_info *fi) trap */ -void +static void v850_fix_call_dummy (char *dummy, CORE_ADDR sp, CORE_ADDR fun, int nargs, struct value **args, struct type *type, int gcc_p) { @@ -1291,6 +1291,8 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return gdbarch; } +extern initialize_file_ftype _initialize_v850_tdep; /* -Wmissing-prototypes */ + void _initialize_v850_tdep (void) { |