OSDN Git Service

Set CU BASE_ADDRESS already from partial DIEs.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 4 May 2008 17:19:06 +0000 (17:19 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 4 May 2008 17:19:06 +0000 (17:19 +0000)
commitd8cc2ad1a2cde1006b6befbbe723e49129bf4066
tree7553104da42dfb64f28d3d5c9401be769f485003
parentc21c1d817c79ab781931b6e0aea8c95107b2b2b7
Set CU BASE_ADDRESS already from partial DIEs.
* dwarf2read.c (read_partial_die): New variables BASE_ADDRESS and
BASE_ADDRESS_TYPE.  Set these variables from DW_AT_LOW_PC and
DW_AT_ENTRY_PC.  Set CU->HEADER.BASE_KNOWN and CU->HEADER.BASE_ADDRESS
from these variables if it was still unset.
gdb/ChangeLog
gdb/dwarf2read.c