aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-05-18 14:26:26 +0000
committerTom Tromey <tromey@redhat.com>2012-05-18 14:26:26 +0000
commit9703b51377ca945155cb74f09761fe6fb0431613 (patch)
treecbdbb10c06ff4fb5d9b973ee1312dcf1521e0ab7 /gdb/block.h
parent5a4398495b075cef77112aed5e98a6dddf3ee5b8 (diff)
downloadgdb-9703b51377ca945155cb74f09761fe6fb0431613.zip
gdb-9703b51377ca945155cb74f09761fe6fb0431613.tar.gz
gdb-9703b51377ca945155cb74f09761fe6fb0431613.tar.bz2
* psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab
directly corresponding to the found psymtab. * dwarf2read.c (recursively_find_pc_sect_symtab): New function. (dw2_find_pc_sect_symtab): Use it. * block.h (blockvector_contains_pc): Declare. * block.c (find_block_in_blockvector): New function. (blockvector_for_pc_sect): Use it. (blockvector_contains_pc): New function.
Diffstat (limited to 'gdb/block.h')
-rw-r--r--gdb/block.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/block.h b/gdb/block.h
index b4f92f3..99c4788 100644
--- a/gdb/block.h
+++ b/gdb/block.h
@@ -152,6 +152,8 @@ extern struct blockvector *blockvector_for_pc_sect (CORE_ADDR,
struct block **,
struct symtab *);
+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);