[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] ICDISourceManagement getInstructions and getMixedInstructions
|
Dear All,
I am developping a plug-in for Disassembly View with following features:
- Switch to display disassembly without interleaved C.
- Go directly to a specific address in the assembly code. Address may
be a number (hexadecimal, decimal, or octal) or a symbol name.
- Retrieve the disassembly at the current program counter.
- Sliding by next/prev page.
I intend to retrofit this
plugin to the community if someone is interested and if it is possible. An
alpha version is available (Eclipse3.1, CDT 3.0.0).
To develop this plug-in, I modified some CDT source files. In particular,
I need the following methods in ICDISourceManagement
class (needed for "goto symbol name"):
ICDIInstruction[] getInstructions(String startAddress, String endAddress)
ICDIInstruction[] getMixedInstructions(String startAddress, String endAddress)
Is it possible to add these methods in CDT ? How to ask for other CDT sources
modifications ?
How to retrofit my modified sources to the community ?
Is it possible to be implied in the development of this feature for CDT 3.1
?
Regards,
Jerome Correnoz
STMicroelectronics
Mikhail Khodjaiants wrote:
We
haven't done the 3.1 planning yet. We want to get the feedback from the CDT
conference.
There are Bugzilla requests for the features you mentioned and we will consider
them for 3.1.
----- Original Message ----- From: "Alexiev, Dobrin" <dalexiev@xxxxxx>
To: "CDT Debug developers list" <cdt-debug-dev@xxxxxxxxxxx>
Cc: "Chuong, Patrick" <pchuong@xxxxxx>
Sent: Friday, October 21, 2005 12:14 PM
Subject: RE: [cdt-debug-dev] ICDISourceManagement getInstructions andgetMixedInstructions
Thanks Mikhail.
Do you anything about the timeline of this development?
Probably the one that I am most interested is virtual scrolling of
disassembly view past the border of the current stack frame function.
It is similar user interaction to the memory window. Many IDEs have it.
Also what about having multiple views of the disassembly view?
Regards
Dobrin
-----Original Message-----
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Mikhail
Khodjaiants
Sent: Friday, October 21, 2005 11:25 AM
To: CDT Debug developers list
Subject: Re: [cdt-debug-dev] ICDISourceManagement getInstructions
andgetMixedInstructions
Dobrin,
The "setSourcePaths" method is also used by the implementation. I
believe we
will deprecate the "getInstructions" and "getMixedInstructions" methods
without limiting line number.
Regarding the remaining methods, you can ignore them for now. But there
are
many requests to add new features to the Disassembly view and the Source
lookup, so it is possible that we will use these methods in the future.
Mikhail
----- Original Message ----- From: "Alexiev, Dobrin" <dalexiev@xxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Cc: "Chuong, Patrick" <pchuong@xxxxxx>
Sent: Friday, October 21, 2005 10:04 AM
Subject: [cdt-debug-dev] ICDISourceManagement getInstructions and
getMixedInstructions
I am implementing a CDT debugger using the CDI
interface.
I noticed that out of 5 functions for getting the disassembly
instructions in the ICDISourceManagement interface only two are
referenced in the CDT code -
getMixedInstructions( String filename,int linenum,int lines)
getInstructions(BigInteger startAddress, BigInteger endAddress)
If my observation is correct (I may be missing projects in my
workspace)
I was wondering are there any plans to hook up
these functions in
future
versions of CDT or they are obsolete functions
and I don't have to
implement them.
Thanks a lot
Dobrin Alexiev
Texas Instruments
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
--
_______________________________________________________________
Jerome CORRENOZ
STMicroelectronics/HPC/STS/IDTEC
mailto: jerome.correnoz@xxxxxx
+33 (0)4 76 58 68 42
________________________________________________________________