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: [RFC] dwarf2_read_address(): sign extend as appropriate


On Mon, Apr 23, 2007 at 09:49:00AM -0700, Kevin Buettner wrote:
> We can't use address_from_register() in this instance since
> dwarf2_read_address() is not fetching an address from a register, but
> rather from some DWARF2 info.

How about value_as_address?  I don't like the need for another call
site for gdbarch_integer_to_address; it's historically tricky...

-- 
Daniel Jacobowitz
CodeSourcery


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