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: lvalues and variable_editable


On Wed, Oct 31, 2007 at 10:47:40PM +0300, Vladimir Prus wrote:
> I'm not sure that's possible. If you create varobj for *foo, and foo changes
> to point to inaccessible memory, then assignment to *foo will fail, but I
> don't know any mechanism in gdb that will tell you that without actually
> trying assignment.

Yes, there is no way to be sure without trying to write.  Which we
shouldn't unless the user asked us to, of course.

-- 
Daniel Jacobowitz
CodeSourcery


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