* dwarf2loc.h (dwarf2_per_cu_text_offset): Declare.
authorTom Tromey <tromey@redhat.com>
Tue, 13 Jul 2010 15:09:03 +0000 (15:09 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 13 Jul 2010 15:09:03 +0000 (15:09 +0000)
commit9aa1f1e33995b48c94b8d6833d071751aa02f751
treebd6c031088dddbd90f9a9d9f23d252354f214846
parent6951728764c1d0d95285ea58a2ba2e335b73f4cd
* dwarf2loc.h (dwarf2_per_cu_text_offset): Declare.
* dwarf2loc.c (find_location_expression): Use
dwarf2_per_cu_text_offset.
(dwarf2_evaluate_loc_desc): Likewise.
(dwarf2_loc_desc_needs_frame): Likewise.
(compile_dwarf_to_ax): Likewise.
(loclist_describe_location): Likewise.
* dwarf2read.c (dwarf2_per_cu_text_offset): New function.
(dwarf2_per_cu_objfile): Update comment.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/dwarf2loc.h
gdb/dwarf2read.c