From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 30 Sep 2003 19:38:13 +0100 (BST) Received: from 66-126-253-28.ded.pacbell.net ([IPv6:::ffff:66.126.253.28]:29705 "EHLO blunote.bluzona.com") by linux-mips.org with ESMTP id ; Tue, 30 Sep 2003 19:38:01 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C38781.F17AA991" Subject: Backtrace capability Date: Tue, 30 Sep 2003 11:37:46 -0700 Message-ID: <2EEAE99C5AA0B14BB6A0BBB4ABF8D1E117960E@blunote.bluzona.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Backtrace capability Thread-Index: AcOHgfFyYmJVB4rfRLq7BbQIOJuDaw== From: "Sudeep Kottilingal" To: Cc: "Joe Baranowski" Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3333 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: skottilingal@kinetowireless.com Precedence: bulk X-list: linux-mips This is a multi-part message in MIME format. ------_=_NextPart_001_01C38781.F17AA991 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi all, =20 =20 I am trying to debug some SIGSEGV when I leave my system ON for a few days. At the time of the Crash I am not able to get a nice back-trace/stack trace yet. (I do not see the execinfo.h file on my uclibc toolchain Which implies its not supported yet on my toolchain release). =20 =20 Has anyone had success in incorporating backtrace capability into a uclibc binary yet ...? If your answer is yes, could u give me some pointers on how to do it and set it up ..? =20 =20 If your answer is no is there any other alternative set up to get more information. I do not run an ICD or ICE on my board. Neither do I have a serial console. My console is redirected via Telnet. =20 =20 Currently I am running the application which crashes on the linux PC through totalview debugger. Waiting for it to crash. =20 sudeep ------_=_NextPart_001_01C38781.F17AA991 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi all,

 

 

I am trying to debug some SIGSEGV when I leave my = system ON for a few days. At the time of the

Crash I am not able to get a nice back-trace/stack = trace yet. (I do not see the execinfo.h file on my = uclibc toolchain

Which implies its not = supported yet on my toolchain = release).

 

 

Has anyone had success in incorporating = backtrace capability into a uclibc binary yet = …?

If your answer is yes, could u give me some pointers on how to do it and set it up = ..?

 

 

If your answer is no is there any other alternative set up to get more = information.

I do not run an ICD or ICE on my board. Neither do I = have a serial console. My console is redirected via = Telnet.

 

 

Currently I am running the application which crashes = on the linux PC through totalview debugger.

Waiting for it to = crash.

 

sudeep<= /span>

=00 ------_=_NextPart_001_01C38781.F17AA991-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 30 Sep 2003 20:15:02 +0100 (BST) Received: from avtrex.com ([IPv6:::ffff:216.102.217.178]:49067 "EHLO avtrex.com") by linux-mips.org with ESMTP id ; Tue, 30 Sep 2003 20:15:00 +0100 Received: from avtrex.com ([192.168.0.111] RDNS failed) by avtrex.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 30 Sep 2003 12:14:55 -0700 Message-ID: <3F79D62F.5070901@avtrex.com> Date: Tue, 30 Sep 2003 12:14:55 -0700 From: David Daney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sudeep Kottilingal CC: linux-mips@linux-mips.org, Joe Baranowski Subject: Re: Backtrace capability References: <2EEAE99C5AA0B14BB6A0BBB4ABF8D1E117960E@blunote.bluzona.com> In-Reply-To: <2EEAE99C5AA0B14BB6A0BBB4ABF8D1E117960E@blunote.bluzona.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 30 Sep 2003 19:14:55.0675 (UTC) FILETIME=[21F820B0:01C38787] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3336 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ddaney@avtrex.com Precedence: bulk X-list: linux-mips Sudeep Kottilingal wrote: > Hi all, > > I am trying to debug some SIGSEGV when I leave my system ON for a few > days. At the time of the > > Crash I am not able to get a nice back-trace/stack trace yet. (I do > not see the execinfo.h file on my uclibc toolchain > > Which implies its not supported yet on my toolchain release). > > *Has anyone had success in incorporating backtrace capability into a > uclibc binary yet …?* > > *If your answer is yes, could u give me some pointers on how to do it > and set it up ..?* > > *If your answer is no is there any other alternative set up to get > more information.* > > I do not run an ICD or ICE on my board. Neither do I have a serial > console. My console is redirected via Telnet. > > Currently I am running the application which crashes on the linux PC > through totalview debugger. > > Waiting for it to crash. > > sudeep > I hacked together a backtrace that you may be able to adapt. It was originally for gcj, but we use several variations for other things as well. It kind of relies on an o32 ABI calling convention. The code is in this mail message: http://gcc.gnu.org/ml/java-patches/2003-q3/msg00584.html Look at: libjava/sysdep/mips/mipsel-backtracer.c libjava/sysdep/mips/mipsel-backtracer.h libjava/sysdep/mips/mipsel-bthelper.S David Daney From mboxrd@z Thu Jan 1 00:00:00 1970 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C38781.F17AA991" Subject: Backtrace capability Date: Tue, 30 Sep 2003 11:37:46 -0700 Message-ID: <2EEAE99C5AA0B14BB6A0BBB4ABF8D1E117960E@blunote.bluzona.com> From: "Sudeep Kottilingal" Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Cc: Joe Baranowski Message-ID: <20030930183746.JTWOWoqfk7FTMypBq-L50Zu6u2uOLcHBWTRDFe4AqBk@z> This is a multi-part message in MIME format. ------_=_NextPart_001_01C38781.F17AA991 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi all, =20 =20 I am trying to debug some SIGSEGV when I leave my system ON for a few days. At the time of the Crash I am not able to get a nice back-trace/stack trace yet. (I do not see the execinfo.h file on my uclibc toolchain Which implies its not supported yet on my toolchain release). =20 =20 Has anyone had success in incorporating backtrace capability into a uclibc binary yet ...? If your answer is yes, could u give me some pointers on how to do it and set it up ..? =20 =20 If your answer is no is there any other alternative set up to get more information. I do not run an ICD or ICE on my board. Neither do I have a serial console. My console is redirected via Telnet. =20 =20 Currently I am running the application which crashes on the linux PC through totalview debugger. Waiting for it to crash. =20 sudeep ------_=_NextPart_001_01C38781.F17AA991 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi all,

 

 

I am trying to debug some SIGSEGV when I leave my = system ON for a few days. At the time of the

Crash I am not able to get a nice back-trace/stack = trace yet. (I do not see the execinfo.h file on my = uclibc toolchain

Which implies its not = supported yet on my toolchain = release).

 

 

Has anyone had success in incorporating = backtrace capability into a uclibc binary yet = …?

If your answer is yes, could u give me some pointers on how to do it and set it up = ..?

 

 

If your answer is no is there any other alternative set up to get more = information.

I do not run an ICD or ICE on my board. Neither do I = have a serial console. My console is redirected via = Telnet.

 

 

Currently I am running the application which crashes = on the linux PC through totalview debugger.

Waiting for it to = crash.

 

sudeep<= /span>

=00 ------_=_NextPart_001_01C38781.F17AA991--