Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] FW: [Bug 357440] Missing register tool-tips and opcode display in the disassembly view

Thanks Toni -

I have a patch to address these items, for work I was doing based on CDT 9.   

> This should already be possible by implementing
> IDisassemblyBackend.evaluateExpression(String() such that it can 
> detect whether an expression denotes a register or simply by 
> trying register evaluation as a fallback. 

For the DSF and TCF backends, it could be much more efficient if we just added an IDisassemblyBackend.evaluateRegister() method.  If this is okay, I can post the patch for review...

Thanks again -
Scott

-----Original Message-----
From: bugzilla-daemon@xxxxxxxxxxx [mailto:bugzilla-daemon@xxxxxxxxxxx] 
Sent: Tuesday, September 13, 2011 12:46 AM
To: Tepavich, Scott
Subject: [Bug 357440] Missing register tool-tips and opcode display in the disassembly view

https://bugs.eclipse.org/bugs/show_bug.cgi?id=357440
Product/Component: CDT / cdt-debug

Anton Leherbauer <anton.leherbauer@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anton.leherbauer@windriver.
                   |                            |com

--- Comment #1 from Anton Leherbauer <anton.leherbauer@xxxxxxxxxxxxx> 2011-09-13 03:46:03 EDT ---
> A preference to turn on/off the display of opcode values

By coincidence this has been requested recently in bug 357270.

> and the ability to
> display the value of registers via tool-tips are missing.

This should already be possible by implementing
IDisassemblyBackend.evaluateExpression(String() such that it can detect whether an expression denotes a register or simply by trying register evaluation as a fallback. 

/**
 * Evaluate an expression for text hover
 *
 * @param expression
 *            the expression to be evaluated
 * @return the result, or "" if it doesn't resolve, for whatever reason  */ String evaluateExpression(String expression);

--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You reported the bug.


Back to the top