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.

[参考译文] TM4C129ENCPDT:面临调试问题、提示"目标文件在.debug_frame 0x0处包含无效的调用帧信息;其余的调用帧信息将被跳过。 回声堆可能未正确解开。 夸特(&quot);

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1188848/tm4c129encpdt-facing-debugging-issue-saying-the-object-file-contains-invalid-call-frame-information-at-debug_frame-0x0-the-rest-of-call-frame-information-will-be-skipped-callstack-may-not-be-unwound-properly

器件型号:TM4C129ENCPDT
主题中讨论的其他器件:SEGGER

大家好、

我面临调试问题

如下  "目标文件在.debug_frame 0x0处包含无效的调用帧信息;其余的调用帧信息将被跳过。 回声堆可能未正确解开。"

我认为我缺少在调试选项中设置选项的一些步骤。

这是屏幕截图  

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

    您好!

    它显示您加载的可执行文件包含一些损坏的调试信息。 用于生成可执行文件的编译器版本确切是什么? 您能否提供可执行文件?

    谢谢

    Ki

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

    您好 Ki、

    TI-RTOS 2.16.01.14提供了一个示例程序"hellowolrd"、

    编译器: GNU Lianaro 4.7.3 (gcc-arm-none-eabi-4_7-2012Q4-20121208)

    调试器:Segger J link edu

    我在这里附加了可执行文件

    错误 ss:

    可执行文件: HelloWorld_GNU

    提前感谢。

    此致

    Chiranth

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

    谢谢。 您使用的确切 CCS 版本是什么?

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

    您好、ki:

    我使用的是 CCS v 12..2

    此致。  

    线性调频脉冲

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

    谢谢你。 我似乎无法使用相同的 CCS 版本重现问题。 您何时会得到该错误? 您是否仅在代码的某些部分停止时才获得它? 还是在程序加载时发生?

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

    您好、ki:

    该错误是在程序刷写后发生的,该错误将弹出,如屏幕截图中所示。

    我将使用 Segger J link Debugger EDU 版本。 您是否能够在 GNU 中调试该代码?

    此致  

    Chiranth

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="539690" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1188848/tm4c129encpdt-facing-debugging-issue-saying-the-object-file-contains-invalid-call-frame-information-at-debug_frame-0x0-the-rest-of-call-frame-information-will-be-skipped-callstack-may-not-be-unwound-properly/4482320 #4482320"]该错误是在程序刷写后发生的,该错误会弹出,如屏幕截图中所示。

    为了确认、我所指的误差是:

    "目标文件在.debug_frame 0x0处包含无效的调用帧信息;其余的调用帧信息将被跳过。 回声堆可能未正确解开。 "

    当您刷写程序时、您附加到此线程的可执行文件会发生上述错误?

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

    是的、ki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="539690" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1188848/tm4c129encpdt-facing-debugging-issue-saying-the-object-file-contains-invalid-call-frame-information-at-debug_frame-0x0-the-rest-of-call-frame-information-will-be-skipped-callstack-may-not-be-unwound-properly/4479840 #4479840"]

    错误 ss:

    可执行文件: HelloWorld_GNU

    [/报价]

    此屏幕截图未显示错误。 这里没有问题吗?

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

    找不到源文件@有些位置是错误的、我无法调试或进入程序

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="539690" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1188848/tm4c129encpdt-facing-debugging-issue-saying-the-object-file-contains-invalid-call-frame-information-at-debug_frame-0x0-the-rest-of-call-frame-information-will-be-skipped-callstack-may-not-be-unwound-properly/4484028 #4484028"]找不到源文件@某些位置是错误

    这不是调试器的问题。 有关更多详细信息、请参阅以下内容:

    https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_debug-main.html#debugging-library-code

    唯一的调试器问题是消息:

    "目标文件在.debug_frame 0x0处包含无效的调用帧信息;其余的调用帧信息将被跳过。 回声堆可能未正确解开。 "

    我想调试这个问题、但我无法使用您提供的示例进行重现。