This is the mail archive of the gdb-patches@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: [PATCH] MI: -var-update bug


 > That reinit_frame_cache call is silly.  I've been meaning to remove it
 > for ages.  Do you see any reason not to?

I don't understand frame.c well enough to judge yet (likewise with eval.c and
your patch) but if you think its silly lets remove it.  Without randomisation,
I think some of this code (in c_value_of_root) would put the variable object
back into scope because it would find the frame id.

More generally, should we make GDB delete all variable objects if we restart
execution or are there OSes (without randomisation) where it is still useful?


-- 
Nick                                           http://www.inet.net.nz/~nickrob


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