gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 7 Jun 2010 19:42:58 +0000 (19:42 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 7 Jun 2010 19:42:58 +0000 (19:42 +0000)
commit17ea53c331199c560a28089d4c5757caa1517d33
treed2ec71898484304332fba8252f01c70a8586e9ad
parent245040d756e6e32bb26e82597834ea6aa1546da8
gdb/
* dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
(dwarf_expr_tls_address): Use per_cu instead of objfile.
(dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
Initialize new BATON.PER_CU.  Adjust CTX->GDBARCH initialization for
this change.
(struct needs_frame_baton): New field per_cu.
(dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
* dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/dwarf2read.c