[commit] Hack value's lval, regnum, address, internalvar, and frame_id fields
Andrew Cagney
cagney@gnu.org
Tue Feb 8 00:29:00 GMT 2005
Hello, this converts the remaining VALUE_ REGNUM ADDRESS INTERNALVAR and
FRAME_ID maro's into functions. For reasons noted in:
http://sources.redhat.com/ml/gdb/2005-02/msg00029.html
> However, for the VALUE fields that describe the actual location (i.e., PIECE) there's a problem - there are now N PIECEs. Initially I'll assume there's only one piece giving:
>
> Old: value->lval
> Hack: value->contents->piece[0]->lval
>
>
> (the assume-one-piece methods will be DEPRECATED). Going forward the code can be updated to eliminate that assumption, instead iterating over multiple pieces.
I've called the wrapper functions deprecated_XXXX_hack (Hmm, I see one
hack got duplicated) and just switched the macro's to use them. Medium
term neither the macros nor the functions have a future.
committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050208/3aa5f6e0/attachment.ksh>
More information about the Gdb-patches
mailing list