[rfc] debugging anonymous unions
Daniel Jacobowitz
drow@mvista.com
Mon Dec 1 00:01:00 GMT 2003
On Sun, Nov 30, 2003 at 12:42:59PM -0800, Richard Henderson wrote:
> On Sat, Nov 29, 2003 at 09:47:28PM -0500, Jim Blandy wrote:
> > Is there anything
> > interesting you can think of that GDB could do only if it knew there
> > was an anonymous union involved?
>
> The only sligtly interesting thing is not having to replicate a large
> location list, with small or no perturbations based on offset. Otherwise
> it makes sense to present gdb with multiple top-level variables.
For a single location expression, sure, but if there's a location list
couldn't you reference the same one?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list