Bug 12769

Summary: while-stepping and location expressions
Product: gdb Reporter: Tom Tromey <tromey>
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: HEAD   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Tom Tromey 2011-05-16 20:59:14 UTC
I think that a collect inside a while-stepping can collect
the wrong data if a local variable uses a location expression.
I don't have a test case (but see bug 11613), but saw this
reading code.

If correct, one possible fix would be to differentiate
"compiling for while-stepping" so that loclist_tracepoint_var_ref
could compile the entire location expression to AX.