* Backtrace capability
@ 2003-09-30 18:37 Sudeep Kottilingal
2003-09-30 18:37 ` Sudeep Kottilingal
2003-09-30 19:14 ` David Daney
0 siblings, 2 replies; 3+ messages in thread
From: Sudeep Kottilingal @ 2003-09-30 18:37 UTC (permalink / raw)
To: linux-mips; +Cc: Joe Baranowski
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 6822 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Backtrace capability
2003-09-30 18:37 Backtrace capability Sudeep Kottilingal
@ 2003-09-30 18:37 ` Sudeep Kottilingal
2003-09-30 19:14 ` David Daney
1 sibling, 0 replies; 3+ messages in thread
From: Sudeep Kottilingal @ 2003-09-30 18:37 UTC (permalink / raw)
To: linux-mips; +Cc: Joe Baranowski
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 6822 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Backtrace capability
2003-09-30 18:37 Backtrace capability Sudeep Kottilingal
2003-09-30 18:37 ` Sudeep Kottilingal
@ 2003-09-30 19:14 ` David Daney
1 sibling, 0 replies; 3+ messages in thread
From: David Daney @ 2003-09-30 19:14 UTC (permalink / raw)
To: Sudeep Kottilingal; +Cc: linux-mips, Joe Baranowski
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-30 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-30 18:37 Backtrace capability Sudeep Kottilingal
2003-09-30 18:37 ` Sudeep Kottilingal
2003-09-30 19:14 ` David Daney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox