C6000: callstack replicates caller function indefinitely when Step Into/Over

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-6662
    • C6000_8.3.0
    • default
    • No practical workaround
    • Hide
      The callstack mysteriously replicates the caller function indefinitely when stepping into or stepping over a function in C.

      This was verified to happen with CCSv8.3.1 and v9.1.0 on Windows using CGT 8.3.3 for C6000.
      Show
      The callstack mysteriously replicates the caller function indefinitely when stepping into or stepping over a function in C. This was verified to happen with CCSv8.3.1 and v9.1.0 on Windows using CGT 8.3.3 for C6000.

      A function which does not return (such as one that contains an infinite loop) doesn't need to save the return address register, so the compiler may reuse it for some other purpose. When this happens, the debugger may show strange things, especially if the non-returning function itself calls a function, in which case the debugger will get confused and show in the call stack view an infinite recursion of the nested function, which is not correct. The bug is that the DWARF information wasn't updated to indicate that the return address register is invalid, which would have stopped the debugger from trying to interpret it.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-2013 - C6000: callstack replicates caller ...
                SYNCHRONIZED
                • Last Sync Date: