This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] dwarf2_read_address(): sign extend as appropriate
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."