[RFC] dwarf2_read_address(): sign extend as appropriate
Daniel Jacobowitz
drow@false.org
Mon Apr 23 18:19:00 GMT 2007
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
More information about the Gdb-patches
mailing list