This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA][1/5] New port: Cell BE SPU (dwarf2loc.c fix)
On Tue, Nov 21, 2006 at 05:43:05PM -0800, Jim Blandy wrote:
> It seems a shame to be creating a value and then throwing it away, but
> the composition of those two functions has the semantics we want, so I
> don't see a good alternative without some more restructuring.
Actually, I think we should be doing it more often. It doesn't live
long, there's a clearly defined mechanism for throwing it away, and it
encapsulates that the object should have target semantics. Eventually,
if we ever get around to disallowing math on CORE_ADDR, I think this is
what we'll end up with.
--
Daniel Jacobowitz
CodeSourcery