diff options
Diffstat (limited to 'gdb/tic6x-tdep.c')
-rw-r--r-- | gdb/tic6x-tdep.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c index 2661cb2..2dce8da 100644 --- a/gdb/tic6x-tdep.c +++ b/gdb/tic6x-tdep.c @@ -146,7 +146,7 @@ static int tic6x_register_number (int reg, int side, int crosspath); Bail out early if CURRENT_PC is reached. Returns the address of the first instruction after the prologue. */ -CORE_ADDR +static CORE_ADDR tic6x_analyze_prologue (struct gdbarch *gdbarch, const CORE_ADDR start_pc, const CORE_ADDR current_pc, struct tic6x_unwind_cache *cache, @@ -298,7 +298,7 @@ tic6x_analyze_prologue (struct gdbarch *gdbarch, const CORE_ADDR start_pc, /* This is the implementation of gdbarch method skip_prologue. */ -CORE_ADDR +static CORE_ADDR tic6x_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc) { CORE_ADDR limit_pc; @@ -324,7 +324,7 @@ tic6x_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc) /* This is the implementation of gdbarch method breakpiont_from_pc. */ -const unsigned char* +static const unsigned char* tic6x_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *bp_addr, int *bp_size) { @@ -398,7 +398,7 @@ tic6x_unwind_sp (struct gdbarch *gdbarch, struct frame_info *this_frame) /* Frame base handling. */ -struct tic6x_unwind_cache* +static struct tic6x_unwind_cache* tic6x_frame_unwind_cache (struct frame_info *this_frame, void **this_prologue_cache) { @@ -698,7 +698,7 @@ tic6x_get_next_pc (struct frame_info *frame, CORE_ADDR pc) /* This is the implementation of gdbarch method software_single_step. */ -int +static int tic6x_software_single_step (struct frame_info *frame) { struct gdbarch *gdbarch = get_frame_arch (frame); @@ -1377,6 +1377,9 @@ tic6x_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return gdbarch; } +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_tic6x_tdep; + void _initialize_tic6x_tdep (void) { |