diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-03-02 00:06:13 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-03-02 00:06:13 +0000 |
commit | 693be288fc943b123289162ca3855029ca66f241 (patch) | |
tree | fdaa02539b1eadd00fd5ab6c94cdd7aa4e7633b8 /gdb/microblaze-tdep.c | |
parent | 638234e578f3adc0dce3a9eedd3c698a75ef813f (diff) | |
download | gdb-693be288fc943b123289162ca3855029ca66f241.zip gdb-693be288fc943b123289162ca3855029ca66f241.tar.gz gdb-693be288fc943b123289162ca3855029ca66f241.tar.bz2 |
gdb/
Fix -Wmissing-prototypes build.
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
* amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
* amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
* arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
(_initialize_arm_symbian_tdep): New prototype.
* arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
* i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
* i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
static.
* lm32-tdep.c (_initialize_lm32_tdep): New prototype.
* microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
prototype.
* microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
(microblaze_skip_prologue, microblaze_frame_cache): Make them static.
* mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
static.
* moxie-tdep.c (moxie_process_record): Likewise.
* remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
(mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
* rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
(_initialize_rl78_tdep): New prototype.
* rx-tdep.c (rx_breakpoint_from_pc): Make it static.
(_initialize_rx_tdep): New prototype.
* solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
(_initialize_darwin_solib): New prototype.
* solib-spu.c: Include solib-spu.h.
(_initialize_spu_solib): New prototype.
* spu-multiarch.c (_initialize_spu_multiarch): New prototype.
* tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
(tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
(tic6x_software_single_step): Make it static.
(_initialize_tic6x_tdep): New prototype.
Diffstat (limited to 'gdb/microblaze-tdep.c')
-rw-r--r-- | gdb/microblaze-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/microblaze-tdep.c b/gdb/microblaze-tdep.c index 6aea41e..3ce3d1c 100644 --- a/gdb/microblaze-tdep.c +++ b/gdb/microblaze-tdep.c @@ -81,7 +81,7 @@ static const char *microblaze_register_names[] = static int microblaze_debug_flag = 0; -void +static void microblaze_debug (const char *fmt, ...) { if (microblaze_debug_flag) @@ -120,7 +120,7 @@ microblaze_register_type (struct gdbarch *gdbarch, int regnum) /* Fetch the instruction at PC. */ -unsigned long +static unsigned long microblaze_fetch_instruction (CORE_ADDR pc) { enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); @@ -426,7 +426,7 @@ microblaze_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame) /* Return PC of first real instruction of the function starting at START_PC. */ -CORE_ADDR +static CORE_ADDR microblaze_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc) { struct symtab_and_line sal; @@ -456,7 +456,7 @@ microblaze_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc) /* Normal frames. */ -struct microblaze_frame_cache * +static struct microblaze_frame_cache * microblaze_frame_cache (struct frame_info *next_frame, void **this_cache) { struct microblaze_frame_cache *cache; |