This is the mail archive of the gdb@sourceware.org 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: Which MI behavior is correct ?


On Sat, May 19, 2007 at 02:19:54PM +1200, Nick Roberts wrote:
>  >    If it is correct:
>  > 
>  >     - Are we supposed to recreate variables each time we enter the 
>  > function ?
>  >     - Is this efficient ?
> 
> Well the variables themselves are reallocated from the stack, so there's
> a chance that they're not the same variables.  At the moment, however
> GDB assumes that they are the same and you don't have to recreate them.

Aren't the variables associated with a particular frame ID?  I thought
we'd decided that it was the right thing to take them out of scope.

-- 
Daniel Jacobowitz
CodeSourcery


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