This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: attach gdbserver to itself


On Wed, Jan 24, 2007 at 08:55:59PM +0800, Bin Chen wrote:
> binch@binary-ubuntu:~/work/Project/code/app_engine/APWifiCtrl$ 
> arm_v4t_le-gdb src/wifictrld -x cmd
> GNU gdb 6.0 (MontaVista 6.0-11.0.6.0401382 2004-10-08)

You're using MontaVista's (modified) version of GDB.  I strongly
recommend you contact them with any problems you may have.

> (gdb) bt
> #0  0x4002c8f0 in wait () from 
> /home/binch/work/Project/image/src/docimage/lib/libpthread.so.0
> #1  0x0000d680 in segv_handler(int) (no=11) at wifictrld.cpp:88
> #2  0x4002b570 in pthread_barrierattr_setpshared () from 
> /home/binch/work/Project/image/src/docimage/lib/libpthread.so.0
> #3  0x0000d680 in segv_handler(int) (no=-1) at wifictrld.cpp:88
> Previous frame inner to this frame (corrupt stack?)

This means that your version of GDB does not support backtracing
through signal handlers - a common problem.  I believe the current
FSF release of GDB (version 6.6) does this better.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]