diff options
Diffstat (limited to 'gdb/block.h')
-rw-r--r-- | gdb/block.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/block.h b/gdb/block.h index ca143a9..2c3012a 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -145,11 +145,12 @@ extern int block_inlined_p (const struct block *block); extern int contained_in (const struct block *, const struct block *); -extern struct blockvector *blockvector_for_pc (CORE_ADDR, struct block **); +extern struct blockvector *blockvector_for_pc (CORE_ADDR, + const struct block **); extern struct blockvector *blockvector_for_pc_sect (CORE_ADDR, struct obj_section *, - struct block **, + const struct block **, struct symtab *); extern int blockvector_contains_pc (struct blockvector *bv, CORE_ADDR pc); @@ -157,9 +158,9 @@ extern int blockvector_contains_pc (struct blockvector *bv, CORE_ADDR pc); extern struct call_site *call_site_for_pc (struct gdbarch *gdbarch, CORE_ADDR pc); -extern struct block *block_for_pc (CORE_ADDR); +extern const struct block *block_for_pc (CORE_ADDR); -extern struct block *block_for_pc_sect (CORE_ADDR, struct obj_section *); +extern const struct block *block_for_pc_sect (CORE_ADDR, struct obj_section *); extern const char *block_scope (const struct block *block); |