This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, rfc, v2] MIPS dwarf2 location lists


> 	* dwarf2loc.c (find_location_expression): Add relocation offset
> 	to base-address-selection entry base addresses.  Read addresses
> 	(and offsets) as signed/unsigned integers, depending on the
> 	BFD's sign_extend_vma flag.  Do not call dwarf2_read_address.
> 	(loclist_describe_location): Likewise.
> 	(disassemble_dwarf_expression): Read DW_OP_addr operand as
> 	unsigned integer.  Do not call dwarf2_read_address.
> 	(locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address.

I've now checked this in, but omitted this part:

> 	* dwarf2expr.c (dwarf2_read_address): Make static.
> 	* dwarf2expr.h (dwarf2_read_address): Remove prototype.

because we now do have another user of dwarf2_read_address (in the
new dwarf->ax translator).

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]