From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15845 invoked by alias); 24 Jan 2007 13:05:22 -0000 Received: (qmail 15788 invoked by uid 22791); 24 Jan 2007 13:05:20 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 24 Jan 2007 13:05:13 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H9hoM-0000zN-K1; Wed, 24 Jan 2007 08:05:10 -0500 Date: Wed, 24 Jan 2007 13:05:00 -0000 From: Daniel Jacobowitz To: Bin Chen Cc: gdb@sourceware.org Subject: Re: attach gdbserver to itself Message-ID: <20070124130510.GA3676@nevyn.them.org> Mail-Followup-To: Bin Chen , gdb@sourceware.org References: <45B75585.2030900@gmail.com> <20070124125141.GA3370@nevyn.them.org> <45B7575F.80303@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45B7575F.80303@gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00310.txt.bz2 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