[ECOS] ARM gdb backtrace weirdness

Jani Monoses jani@iv.ro
Tue Nov 26 00:17:00 GMT 2002

Something is bugging me for a while so I thought I'd ask:
I have strange backtraces with arm-elf-gdb 5.2.1 (other versions too)
the sleeping threads' last frame is not in a function but in data space 
Something to do with limitation of gdb or due to being called from unlock_inner?
I suspect a bug in the application of course since when run through gdb it does not work 
but it works loaded form redboot.

delivery is a semaphore not a function...
Any ideas?

#0  0x000b4b58 in delivery ()
#1  0x000299c0 in Cyg_Scheduler::unlock_inner (new_lock=1) at /home/jani/work/ecos/packages/kernel/current/src/sched/sched.cxx:204
#2  0x00044f48 in Cyg_Scheduler::reschedule () at /home/jani/work/ecos/build/lwip/dev/install/include/cyg/kernel/sched.inl:116
#3  0x0002a3c8 in Cyg_Counting_Semaphore::wait (this=0xb4b58) at /home/jani/work/ecos/packages/kernel/current/src/sync/cnt_sem.cxx:110
#4  0x00026400 in cyg_semaphore_wait (sem=0xb4b58) at /home/jani/work/ecos/packages/kernel/current/src/common/kapi.cxx:825

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list