Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #357440 +++ Build Identifier: I20110613-1736 The ability to display the value of registers via tool-tips is missing. Reproducible: Always
Created attachment 203385 [details] Patch to be applied This patch contains only the hover related changes from the patch attached to bug 357440. I have also made some cosmetic changes: - fixed typo "indent" > "ident" - fixed Copyright date to be Eclipse compliant, .ie. first, last instead of first-last - moved empty default implementations of new methods in IDisassemblyBackend to AbstractDisassemblyBackend - fixed Java 1.6 API usage: String.isEmpty() - fixed version in pom.xml (must be same as in MANIFEST.MF)
(In reply to bug 357440 comment #2) > It would be nice if the disassembly view passed the selected text if there is > any. > > Since this bug is requesting for tooltip support, is it possible to have > tooltip support for instruction documentation? Our customers have been > requesting to show a short discription when hovering the mouse over the > instruction in the disassembly view. I think IDisassemblyBackend.getHoverInfoData(AddressRangePosition, String) should allow for that purpose - if you can provide your own implementation of the IDisassemblyBackend.
(In reply to comment #2) > I think IDisassemblyBackend.getHoverInfoData(AddressRangePosition, String) > should allow for that purpose - if you can provide your own implementation of > the IDisassemblyBackend. Is this a new API? I don't see it in my local copy of IDisassemblyBackend? Right now, I am using DisassemblyBackendDsf and would like not to have my own implementation if it is possible. Is there any one else that want to have this feature? Perhaps I can create a patch for DisassemblyBackendDsf when I find time to do so.
Created attachment 203413 [details] Revised patch Just noticed that previous patch was not quite complete. (In reply to comment #3) > Is this a new API? I don't see it in my local copy of IDisassemblyBackend? It is API being added by this patch. > Right now, I am using DisassemblyBackendDsf and would like not to have my own > implementation if it is possible. Is there any one else that want to have this > feature? Perhaps I can create a patch for DisassemblyBackendDsf when I find > time to do so. Maybe a more flexible approach would be to make the text hover implementation itself exchangeable by different backends, similar to what we do for the text hover in the editor.
Committed and pushed to master. Thanks!
*** cdt git genie on behalf of Scott Tepavich *** Bug 357612 - [disassembly] Missing register tool-tips [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9fe6dfee8e88f4ff160c14863f635cf4d8e19816