public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Stack unwind functions
@ 2001-06-13 23:28 Ram Menon
  2001-06-14  4:34 ` David Mosberger
  2001-06-14  6:22 ` Jim Wilson
  0 siblings, 2 replies; 3+ messages in thread
From: Ram Menon @ 2001-06-13 23:28 UTC (permalink / raw)
  To: linux-ia64

Hi,

Is there any stack unwind functions available on Linux IA64 ?.

thanks



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-ia64] Stack unwind functions
  2001-06-13 23:28 [Linux-ia64] Stack unwind functions Ram Menon
@ 2001-06-14  4:34 ` David Mosberger
  2001-06-14  6:22 ` Jim Wilson
  1 sibling, 0 replies; 3+ messages in thread
From: David Mosberger @ 2001-06-14  4:34 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Wed, 13 Jun 2001 16:28:37 -0700 (PDT), rmenon@informix.com (Ram Menon) said:

  Ram> Hi, Is there any stack unwind functions available on Linux IA64
  Ram> ?.

Not at the moment.  The libgcc in gcc3.0 will have all the necessary
unwind code, but no interface to unwind the stack (it can be used for
exception handling purposes only). ;-(

	--david


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-ia64] Stack unwind functions
  2001-06-13 23:28 [Linux-ia64] Stack unwind functions Ram Menon
  2001-06-14  4:34 ` David Mosberger
@ 2001-06-14  6:22 ` Jim Wilson
  1 sibling, 0 replies; 3+ messages in thread
From: Jim Wilson @ 2001-06-14  6:22 UTC (permalink / raw)
  To: linux-ia64

Stack unwinding is supported for C++ exception handling.

If you are asking about user level routines, then it varies, depending on
which version of gcc you have, but there is nothing really convenient as yet.

The "Nov snapshot" doesn't provide any user level API for unwinding.  However,
the java runtime wanted a function that worked like the Glibc backtrace
function, so they added a function to libgcc.c called __ia64_backtrace.

The gcc-3 prerelease provides the Unwind API documented in the IA-64 ABI.
However, this alone probably doesn't give you what you want.  Plus, you
may not be able to use this compiler until there is an OS distribution built
from it.  And unfortunately the __ia64_backtrace function had to go away,
since it didn't fit into the new EH implementation that uses the Unwind API.

Jim


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-14  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-13 23:28 [Linux-ia64] Stack unwind functions Ram Menon
2001-06-14  4:34 ` David Mosberger
2001-06-14  6:22 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox