public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/17026] New: Cannot backtrace on executable generated by TI C6x compiler
@ 2014-06-04 22:47 ubrindis at ti dot com
  2014-06-04 22:49 ` [Bug backtrace/17026] " ubrindis at ti dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ubrindis at ti dot com @ 2014-06-04 22:47 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17026

            Bug ID: 17026
           Summary: Cannot backtrace on executable generated by TI C6x
                    compiler
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: backtrace
          Assignee: unassigned at sourceware dot org
          Reporter: ubrindis at ti dot com

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug backtrace/17026] Cannot backtrace on executable generated by TI C6x compiler
  2014-06-04 22:47 [Bug backtrace/17026] New: Cannot backtrace on executable generated by TI C6x compiler ubrindis at ti dot com
@ 2014-06-04 22:49 ` ubrindis at ti dot com
  2014-06-04 22:50 ` ubrindis at ti dot com
  2014-06-05  8:11 ` gbenson at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubrindis at ti dot com @ 2014-06-04 22:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17026

--- Comment #1 from Ulises Brindis <ubrindis at ti dot com> ---
This was found by compiling GDB for --host=arm-linux-gnueabi
--target=tic6x-*-elf

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug backtrace/17026] Cannot backtrace on executable generated by TI C6x compiler
  2014-06-04 22:47 [Bug backtrace/17026] New: Cannot backtrace on executable generated by TI C6x compiler ubrindis at ti dot com
  2014-06-04 22:49 ` [Bug backtrace/17026] " ubrindis at ti dot com
@ 2014-06-04 22:50 ` ubrindis at ti dot com
  2014-06-05  8:11 ` gbenson at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubrindis at ti dot com @ 2014-06-04 22:50 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17026

--- Comment #2 from Ulises Brindis <ubrindis at ti dot com> ---
Created attachment 7629
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7629&action=edit
Test executable

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug backtrace/17026] Cannot backtrace on executable generated by TI C6x compiler
  2014-06-04 22:47 [Bug backtrace/17026] New: Cannot backtrace on executable generated by TI C6x compiler ubrindis at ti dot com
  2014-06-04 22:49 ` [Bug backtrace/17026] " ubrindis at ti dot com
  2014-06-04 22:50 ` ubrindis at ti dot com
@ 2014-06-05  8:11 ` gbenson at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: gbenson at redhat dot com @ 2014-06-05  8:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17026

--- Comment #3 from Gary Benson <gbenson at redhat dot com> ---
*** Bug 17025 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-05  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 22:47 [Bug backtrace/17026] New: Cannot backtrace on executable generated by TI C6x compiler ubrindis at ti dot com
2014-06-04 22:49 ` [Bug backtrace/17026] " ubrindis at ti dot com
2014-06-04 22:50 ` ubrindis at ti dot com
2014-06-05  8:11 ` gbenson at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).