* glibc on alpha has no backtrace implementation
@ 2001-05-10 8:54 Max Weninger
2001-05-10 14:13 ` Greg Lindahl
2001-05-10 22:46 ` Richard Henderson
0 siblings, 2 replies; 3+ messages in thread
From: Max Weninger @ 2001-05-10 8:54 UTC (permalink / raw)
To: axp-list
Hi all,
I recently dicovered that the glibc (e.g. 2.1.3) has no alpha support
for showing a backtrace (currently supported are intel, ppc and s390)
This nice feature allows you the get a backtrace in your C/C++ program.
Another useful application is the glibc util catchsegv which prints a
backtrace. For the alpha case the resuly is always "empty".
In my opinion this feature is very useful for debugging reasons e.g. you
can print a backtrace when something goes wrong without running in a
debugger.
Following a statement of one of the glibc maintainers
>> >Number: 2234
>> >Category: libc
>> >Synopsis: backtrace on alpha platform is not working
>
>There's no architecture specific implementation of backtrace yet,
>nobody has contributed one yet.
Unfortunatly i have currently not enough insights on the alpha
architecture to implement it out-of-the-box by myself.
Can some "experienced" alpha hackers give me some pointers or hints
where i can gather information about this topic.
Thanks for any help.
Max
--
_______________________________________________________________
\
o/\_ DI Max Weninger
<\__,\ Email (max@takefive.co.at)
">. |
` .-| Jakob-Haringer-Str. 8
. \ A-5020 Salzburg - AUSTRIA
. \ Tel: +43 662 4579150 - Fax: +43 662 4579156
.-|
_________._|____________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: glibc on alpha has no backtrace implementation
2001-05-10 8:54 glibc on alpha has no backtrace implementation Max Weninger
@ 2001-05-10 14:13 ` Greg Lindahl
2001-05-10 22:46 ` Richard Henderson
1 sibling, 0 replies; 3+ messages in thread
From: Greg Lindahl @ 2001-05-10 14:13 UTC (permalink / raw)
To: axp-list
On Thu, May 10, 2001 at 10:54:08AM +0200, Max Weninger wrote:
> Can some "experienced" alpha hackers give me some pointers or hints
> where i can gather information about this topic.
Well, gdb has an implementation, obviously.
-- g
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: glibc on alpha has no backtrace implementation
2001-05-10 8:54 glibc on alpha has no backtrace implementation Max Weninger
2001-05-10 14:13 ` Greg Lindahl
@ 2001-05-10 22:46 ` Richard Henderson
1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2001-05-10 22:46 UTC (permalink / raw)
To: axp-list
On Thu, May 10, 2001 at 10:54:08AM +0200, Max Weninger wrote:
> Can some "experienced" alpha hackers give me some pointers or hints
> where i can gather information about this topic.
You can't do it without frame unwind information, such as you
get from .eh_frame for exception handling. Worse, at present
there is no interface into the exception handling routines
through which you could reliably get this information.
r~
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-10 22:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-10 8:54 glibc on alpha has no backtrace implementation Max Weninger
2001-05-10 14:13 ` Greg Lindahl
2001-05-10 22:46 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox