This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix frame-args.exp failure
On Thu, May 29, 2008 at 02:00:31PM +0200, Ulrich Weigand wrote:
> Now that this is in, I'm wondering whether we should also add a
> SYMBOL_IS_REFERENCE flag (or maybe make SYMBOL_IS_ARGUMENT triple-
> valued) to indicate that the location described by address_class
> holds a pointer to value instead of the value itself.
>
> Then we could get rid of LOC_REF_ARG and LOC_REGPARM_ADDR as well ...
Making it triple-valued would not be nice, since at least in theory
the two concepts are orthogonal. I'd rather see every special case
move to LOC_COMPUTED. For space savings, Andrew suggested using
the address class as an index into an array of symbol operations.
--
Daniel Jacobowitz
CodeSourcery