Language of registers

Eli Zaretskii eliz@gnu.org
Mon Nov 27 07:37:00 GMT 2006


> From:  Vladimir Prus <ghost@cs.msu.su>
> Date:  Mon, 27 Nov 2006 09:32:09 +0300
> > 
> > What advantage do variable objects offer for register names?
> 
> To begin with -- consistenly. There is no fundamental difference between
> ordinary values and registers. The frontend knows how to display the
> hierarchy of variable objects, and there's no need to force the frontend to
> have additional logic for register. Note that Eclipse, for example, does
> create variable objects for all registers at the moment.
> 
> The second advantage is that -data-list-register-values has no hierarchy at
> all. If you try 
> 
>   -data-list-register-values xmm1
> 
> then gdb print print half-screen of output that should be specially parsed
> and displayed. When using variable objects, the frontend already has the
> parsing/display code.

It would be nice to have these explanation in the manual...

Thanks.



More information about the Gdb-patches mailing list