简体   繁体   English

如何在Eclipse CDT中调试纯汇编ARM代码

[英]how to debug pure assembly ARM code in eclipse CDT

I can debug ARM C code (Cortex-M3) in eclipse based on http://gnuarmeclipse.livius.net/blog/qemu-debugging/ but when I try to debug a pure assembly code the Step Into icon is grayed and the Disassembly View is empty. 我可以基于http://gnuarmeclipse.livius.net/blog/qemu-debugging/在eclipse中调试ARM C代码(Cortex-M3),但是当我尝试调试纯汇编代码时,Step Into图标显示为灰色,并且Disassembly视图为空。

The C project constains two simple file (startup.S and main.c), the debugger is working. C项目包含两个简单文件(startup.S和main.c),调试器正在工作。

The asm project constains two simple file (startup.S and main.S), the main.S is the assembly version of main.c. asm项目包含两个简单文件(startup.S和main.S),main.S是main.c的汇编版本。 The asm project is compiled and there is a symbol main. 编译了asm项目,并且有一个符号main。

Is there any special settingss for the assembly debugging? 装配调试有什么特殊设置吗?

我已经将其添加到main的asm版本中,现在可以使用了。

    .type    main, %function

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM