This is the mail archive of the gdb-patches@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: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp


Michael Elizabeth Chastain wrote:
> 
> Andrew Cagney writes:
> 
> > ... so there may not necessarily be a frame change.
> 
> Right.
> 
> > However, if the frame has gone (or is being destroyed) the variable
> > is out of scope.
> 
> The problem is with the recursive case, where there are several frames
> which map to the same line numbers, and several instances of the variable.
> gdb could have bugs where it creates a watchpoint for one of these frames,
> but then deletes it when an inferior frame exits.  With this patch,
> the test suite wouldn't detect such a bug.

Right, I agree.


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