Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] debugger question

Marc, that's the first case that comes to mind. 
But I would like to ask the gdb folks the same question, maybe Vladimir
can clarify it. If there is no difference then we can use
-var-evaluate-expression instead.

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Marc Khouzam
Sent: Thursday, August 14, 2008 3:26 PM
To: CDT General developers list.
Subject: RE: [cdt-dev] debugger question


> Mikhail Khodjaiants wrote:
> The detail pane is designed to provide a different presentation of the

> item selected in the tree. That's why the decision was made to use 
> different gdb commands. It is useful in many cases. For example, if 
> you have char* x the tree item will have a pointer value and the 
> detail pane will show the corresponding string.

In recent GDBs (at least GDB6.6) -var-evaluate-expression returns the
whole string for a char*.

Are there other reasons to use -data-evaluate-expression?
I'm asking because we don't use it for DSF and rely only on
-var-evaluate-expression.

Thanks
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




Back to the top