Disassembling in KDS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Disassembling in KDS

跳至解决方案
1,202 次查看
michaelhuslig
Contributor IV

I can disassemble an elf file in CW10 by right clicking it and choosing disassemble.  That option isn't in KDS3.  Is there a way to do it in KDS3?

 

Mike.

标签 (1)
0 项奖励
1 解答
639 次查看
michaelhuslig
Contributor IV

I also found I can just go to Project|Properties|C/C++Build|Settings|Toolchains and set the Create Extended Listing box.  Then an option will appear in the Tool Settings allowing one to easily choose what is shown in the listing.

Mike

在原帖中查看解决方案

0 项奖励
3 回复数
640 次查看
michaelhuslig
Contributor IV

I also found I can just go to Project|Properties|C/C++Build|Settings|Toolchains and set the Create Extended Listing box.  Then an option will appear in the Tool Settings allowing one to easily choose what is shown in the listing.

Mike

0 项奖励
639 次查看
BlackNight
NXP Employee
NXP Employee

Hi Michael,

no, there is no such context menu in stock Eclipse Luna and CDT (which is what KDS v3.0.0 is using). But you can use 'per-file' options:

pastedImage_2.png

See as well Comparing CodeWarrior with Kinetis Design Studio | MCU on Eclipse.

I hope this helps,

Erich

0 项奖励
639 次查看
michaelhuslig
Contributor IV

Hi Erich,

Although the *.lst files help, they don't show all the code generated and where it is located.  To get a full listing, I added the following command

arm-none-eabi-objdump -d -S ${ProjName}.elf >>${ProjName}.txt

to the Project|Properties|C/C++Build|Settings|BuildSteps PostBuildSteps command box.  The resulting .txt file shows up in the Debug directory of the project.

Mike

0 项奖励