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.

[参考译文] AM5728:映射文件中的.debug_line 和.debug_frame

Guru**** 2390755 points
Other Parts Discussed in Thread: AM5728

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1499185/am5728-debug_line-and-debug_frame-in-map-file

器件型号:AM5728

工具/软件:

我们使用的是 TI RTOS SDK AM5728处理器。 当我们更新映射文件时、会出现.debug_line &.debug_frame 等信息、如下图所示。 您能详细了解一下这是什么、以及此部分有什么用处吗? 您能详细解释一下、或者提供任何培训链接吗? 当程序计数器到达此段区域时。  

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

    您好、

    更新映射文件时、会出现如下图所示的.debug_line 和.debug_frame 信息。

    如果要调试崩溃或在 CCS 中单步执行代码、调试器会使用.debug_line 来确定当前所在位置。
    它查找.debug_line 表示此地址为 main.c:42、 还使用.debug_frame 引导堆栈、该函数称为此函数

    请参阅随附的文档:

    e2e.ti.com/.../DWARF5_5F00_debug_5F00_info.pdf

    此致、

    Karthik