diff options
Diffstat (limited to 'gdb/or1k-tdep.c')
-rw-r--r-- | gdb/or1k-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c index c8365dc..ffcb50f 100644 --- a/gdb/or1k-tdep.c +++ b/gdb/or1k-tdep.c @@ -378,7 +378,7 @@ or1k_delay_slot_p (struct gdbarch *gdbarch, CORE_ADDR pc) static int or1k_single_step_through_delay (struct gdbarch *gdbarch, - frame_info_ptr this_frame) + const frame_info_ptr &this_frame) { ULONGEST val; CORE_ADDR ppc; @@ -558,7 +558,7 @@ or1k_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp) /* Implement the unwind_pc gdbarch method. */ static CORE_ADDR -or1k_unwind_pc (struct gdbarch *gdbarch, frame_info_ptr next_frame) +or1k_unwind_pc (struct gdbarch *gdbarch, const frame_info_ptr &next_frame) { CORE_ADDR pc; @@ -578,7 +578,7 @@ or1k_unwind_pc (struct gdbarch *gdbarch, frame_info_ptr next_frame) /* Implement the unwind_sp gdbarch method. */ static CORE_ADDR -or1k_unwind_sp (struct gdbarch *gdbarch, frame_info_ptr next_frame) +or1k_unwind_sp (struct gdbarch *gdbarch, const frame_info_ptr &next_frame) { CORE_ADDR sp; @@ -889,7 +889,7 @@ or1k_push_dummy_call (struct gdbarch *gdbarch, struct value *function, Reportedly, this is only valid for frames less than 0x7fff in size. */ static struct trad_frame_cache * -or1k_frame_cache (frame_info_ptr this_frame, void **prologue_cache) +or1k_frame_cache (const frame_info_ptr &this_frame, void **prologue_cache) { struct gdbarch *gdbarch; struct trad_frame_cache *info; @@ -1102,7 +1102,7 @@ or1k_frame_cache (frame_info_ptr this_frame, void **prologue_cache) /* Implement the this_id function for the stub unwinder. */ static void -or1k_frame_this_id (frame_info_ptr this_frame, +or1k_frame_this_id (const frame_info_ptr &this_frame, void **prologue_cache, struct frame_id *this_id) { struct trad_frame_cache *info = or1k_frame_cache (this_frame, @@ -1114,7 +1114,7 @@ or1k_frame_this_id (frame_info_ptr this_frame, /* Implement the prev_register function for the stub unwinder. */ static struct value * -or1k_frame_prev_register (frame_info_ptr this_frame, +or1k_frame_prev_register (const frame_info_ptr &this_frame, void **prologue_cache, int regnum) { struct trad_frame_cache *info = or1k_frame_cache (this_frame, |