Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Bin Chen <binary.chen@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: attach gdbserver to itself
Date: Wed, 24 Jan 2007 13:05:00 -0000	[thread overview]
Message-ID: <20070124130510.GA3676@nevyn.them.org> (raw)
In-Reply-To: <45B7575F.80303@gmail.com>

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


  reply	other threads:[~2007-01-24 13:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-24 12:48 Bin Chen
2007-01-24 12:51 ` Daniel Jacobowitz
2007-01-24 12:56   ` Bin Chen
2007-01-24 13:05     ` Daniel Jacobowitz [this message]
2007-01-24 13:20       ` Bin Chen
2007-01-24 13:27         ` Daniel Jacobowitz
2007-01-25  2:12           ` Bin Chen
2007-01-25  2:29           ` Bin Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070124130510.GA3676@nevyn.them.org \
    --to=drow@false.org \
    --cc=binary.chen@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox