Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Backtrace doesn't terminate.
@ 2006-03-17 15:48 Girish Shilamkar
  2006-03-17 15:50 ` Ramana Radhakrishnan
  2006-03-17 17:06 ` Daniel Jacobowitz
  0 siblings, 2 replies; 4+ messages in thread
From: Girish Shilamkar @ 2006-03-17 15:48 UTC (permalink / raw)
  To: gdb

Hi All,
	I am using gdb 6.4 on Xscale processor. I found that the backtrace
doesn't terminate for multi-threaded application, it keeps on repeating
the last frame.
This problem was also seen on native gdb.

(gdb) bt
#0  0x401bf06c in nanosleep ()
   from /opt/timesys/toolchains/armv5l-linux/armv5l-linux-
debug/lib/libc.so.6
#1  0x401beeb0 in __sleep (seconds=0)
at ../sysdeps/unix/sysv/linux/sleep.c:137
#2  0x00008574 in thread_func (not_used=0xbee2fba8) at multithread.c:35
#3  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
#4  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
#5  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
#6  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
#7  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
#8  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310

On  investigating further I found that registers remained unchanged
except sp, for these frames.

(gdb) fr 3
#3  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
310     in manager.c
(gdb) info regi
r0             0x0      0
r1             0xbcbff960       -1128269472
r2             0x0      0
r3             0x1      1
r4             0x174    372
r5             0xbcbffbe0       -1128268832
r6             0x0      0
r7             0x400f0d6c       1074728300
r8             0x80     128
r9             0x400eebc0       1074719680
r10            0x400ee000       1074716672
r11            0x0      0
r12            0x0      0
sp             0xbcbffb40       -1128268992
lr             0x400dc0f0       1074643184
pc             0x400dc0f0       1074643184
fps            0x0      0
cpsr           0x60000010       1610612752
(gdb) fr 4
#4  0x400dc0f0 in pthread_start_thread_event (arg=0xbcbffbe0) at
manager.c:310
310     in manager.c
(gdb) info regi
r0             0x0      0
r1             0xbcbff960       -1128269472
r2             0x0      0
r3             0x1      1
r4             0x174    372
r5             0xbcbffbe0       -1128268832
r6             0x0      0
r7             0x400f0d6c       1074728300
r8             0x80     128
r9             0x400eebc0       1074719680
r10            0x400ee000       1074716672
r11            0x0      0
r12            0x0      0
sp             0xbcbffbd8       -1128268840
lr             0x400dc0f0       1074643184
pc             0x400dc0f0       1074643184
fps            0x0      0
cpsr           0x60000010       1610612752
(gdb)                      

Kindly let me know where things might be going wrong.

Thanks & Regards,
-Girish.



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

end of thread, other threads:[~2006-03-20  6:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-17 15:48 Backtrace doesn't terminate Girish Shilamkar
2006-03-17 15:50 ` Ramana Radhakrishnan
2006-03-17 17:06 ` Daniel Jacobowitz
2006-03-20 23:05   ` Girish Shilamkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox