* dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
2012-01-05 Doug Evans <dje@google.com>
+ * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
+ * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
+
* dwarf2read.c (comp_unit_header): Delete, unused.
2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
struct objfile *dwarf2_per_cu_objfile (struct dwarf2_per_cu_data *cu);
/* Return the address size given in the compilation unit header for CU. */
-CORE_ADDR dwarf2_per_cu_addr_size (struct dwarf2_per_cu_data *cu);
+int dwarf2_per_cu_addr_size (struct dwarf2_per_cu_data *cu);
/* Return the DW_FORM_ref_addr size given in the compilation unit header for
CU. */
/* Return the address size given in the compilation unit header for CU. */
-CORE_ADDR
+int
dwarf2_per_cu_addr_size (struct dwarf2_per_cu_data *per_cu)
{
struct comp_unit_head cu_header_local;