Re: [RFC] dwarf2_read_address(): sign extend as appropriate

Andreas Schwab
2007-04-23T22:43:11Z

Daniel Jacobowitz <drow@false.org> writes:

> 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?

How about extract_typed_address?

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."