diff options
Diffstat (limited to 'gdb/inline-frame.c')
-rw-r--r-- | gdb/inline-frame.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index eb82143..9027617 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -209,7 +209,7 @@ inline_frame_sniffer (const struct frame_unwind *self, void **this_cache) { CORE_ADDR this_pc; - struct block *frame_block, *cur_block; + const struct block *frame_block, *cur_block; int depth; struct frame_info *next_frame; struct inline_state *state = find_inline_frame_state (inferior_ptid); @@ -274,7 +274,7 @@ const struct frame_unwind inline_frame_unwind = { before it). */ static int -block_starting_point_at (CORE_ADDR pc, struct block *block) +block_starting_point_at (CORE_ADDR pc, const struct block *block) { struct blockvector *bv; struct block *new_block; @@ -304,7 +304,7 @@ void skip_inline_frames (ptid_t ptid) { CORE_ADDR this_pc; - struct block *frame_block, *cur_block; + const struct block *frame_block, *cur_block; struct symbol *last_sym = NULL; int skip_count = 0; struct inline_state *state; |