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: MI: type prefixes for values


On Fri, Feb 17, 2006 at 03:31:20PM -0500, Daniel Jacobowitz wrote:
> On Fri, Feb 17, 2006 at 10:22:32PM +0200, Eli Zaretskii wrote:
> > > Date: Fri, 17 Feb 2006 15:15:37 -0500
> > > From: Daniel Jacobowitz <drow@false.org>
> > > Cc: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
> > > 
> > > The real problem here is that Vladimir is trying to parse the result of
> > > -data-evaluate-expression, which is defined as opaque.  Maybe someone
> > > should design a major interface change where values are returned as
> > > varobjs instead of strings.
> > 
> > Maybe, I don't know.  If the results of -data-evaluate-expression are
> > designed to be unparsable, then indeed Vladimir shouldn't try that;
> > but then there should be some way of getting that information in an
> > easily parsable way.
> 
> What a great idea!  Conveniently someone else already thought of it :-)

Oh, just in case it wasn't clear: this obsoletes may suggestion above;
I had not realized you could do this with the existing -var-create
until I went to look.

Maybe a note about this under -data-evaluate-expression is in order.

-- 
Daniel Jacobowitz
CodeSourcery


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