[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    Fix frame-args.exp failure
From:       drow () false ! org (Daniel Jacobowitz)
Date:       2008-05-29 21:33:00
Message-ID: 20080529154057.GA7904 () caradoc ! them ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic