From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18232 invoked by alias); 25 Jan 2007 02:12:33 -0000 Received: (qmail 18191 invoked by uid 22791); 25 Jan 2007 02:12:31 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 25 Jan 2007 02:12:23 +0000 Received: by py-out-1112.google.com with SMTP id p76so165250pyb for ; Wed, 24 Jan 2007 18:12:16 -0800 (PST) Received: by 10.35.75.1 with SMTP id c1mr2827498pyl.1169691136174; Wed, 24 Jan 2007 18:12:16 -0800 (PST) Received: from ?192.168.132.167? ( [222.66.14.54]) by mx.google.com with ESMTP id 15sm5458941nzo.2007.01.24.18.12.13; Wed, 24 Jan 2007 18:12:15 -0800 (PST) Message-ID: <45B811F1.9000300@gmail.com> Date: Thu, 25 Jan 2007 02:12:00 -0000 From: Bin Chen User-Agent: Thunderbird 1.5.0.8 (X11/20061116) MIME-Version: 1.0 To: Bin Chen , gdb@sourceware.org Subject: Re: attach gdbserver to itself References: <45B75585.2030900@gmail.com> <20070124125141.GA3370@nevyn.them.org> <45B7575F.80303@gmail.com> <20070124130510.GA3676@nevyn.them.org> <45B75D05.9030104@gmail.com> <20070124132705.GA5106@nevyn.them.org> In-Reply-To: <20070124132705.GA5106@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00316.txt.bz2 Daniel Jacobowitz wrote: > On Wed, Jan 24, 2007 at 09:20:05PM +0800, Bin Chen wrote: > >> But I can do get the backtrace if I running the program through >> gdbserver, not dynamic attach when fault. >> > > That's probably because you aren't inside a called signal handler in > that case. > > >> Anyway, I will try to compile 6.6 to ARM platform, is it supported in >> the release? >> > > Yes, but you will have to set solib-absolute-prefix by hand or compile > it using --with-sysroot (see the manual). > I compiled gdb-6.6 and then successfully run it in board, but the result is the same. gdbserver :9988 prog can get the backtrace. but attach to itself can't get the backtrace, anyone encounter similar case?