This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] debugging anonymous unions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]