This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译器/ARM-CGT:无法在 ARM gdb 中使用宏

Guru**** 2611705 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/770972/compiler-arm-cgt-unable-to-use-macros-in-arm-gdb

器件型号:ARM-CGT

工具/软件:TI C/C++编译器

大家好、

我使用 TI ARM 编译器 v16.9.4来编译和链接我的 C 代码。 我使用 ARM GDB 进行调试。 我希望能够使用来自 GDB 中代码的宏。 GCC 具有可实现此操作的-ggdb3选项、我只能找到 TI 编译器的--symdebug:dwarf_version={2|3|4}选项、但这些级别似乎都不提供此功能。

提前感谢。

Karel

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    遗憾的是、TI ARM 编译器在调试信息中不包含宏。  因此、不支持使用 GDB 中的宏。

    谢谢、此致、

    乔治

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢乔治:)