Bug 17025 - Cannot backtrace on executable generated by TI C6x compiler
Summary: Cannot backtrace on executable generated by TI C6x compiler
Status: RESOLVED DUPLICATE of bug 17026
Alias: None
Product: gdb
Classification: Unclassified
Component: backtrace (show other bugs)
Version: 7.7
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-04 22:46 UTC by Ulises Brindis
Modified: 2014-06-05 08:11 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulises Brindis 2014-06-04 22:46:41 UTC
GDB cannot handle backtracing on executables generated by the TI C6x compiler. When running the bt command this is the frame information that is shown 

Program received signal SIGTRAP, Trace/breakpoint trap.
0x008105e6 in $C$L4 () at ../main.c:54
54      ../main.c: No such file or directory.
(gdb) bt
#0  0x008105e6 in $C$L4 () at ../main.c:54
PC not saved

If the command "info frame" is run, sometimes this is the output - 
(gdb) info frame
Stack level 0, frame at 0x81b4b8:
 PC = 0x8105e6 in myTask (../main.c:54); saved PC = <not saved>
 called by frame at
frame.c:472: internal-error: get_frame_id: Assertion `fi->this_id.p' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

I have included a test executable.
Comment 1 Gary Benson 2014-06-05 08:11:14 UTC
Misfiled duplicate

*** This bug has been marked as a duplicate of bug 17026 ***