This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HP-PA ABI issues - framepointer handling
- To: alex at anvil dot co dot uk, mklein at dis dot com
- Subject: Re: HP-PA ABI issues - framepointer handling
- From: dewar at gnat dot com (Robert Dewar)
- Date: Thu, 19 Oct 2000 10:10:38 -0400 (EDT)
- Cc: bosch at gnat dot com, gcc at gcc dot gnu dot org, law at cygnus dot com
<<I can't comment from an HP-UX standpoint, but from MPE's perspective,
the problem for us is that the setjmp/sigsetjmp/longjmp code for some
inexplicable reason, does not preserve SR4 and each shared library
on MPE is loaded into its own space. I've written a setjmp workalike
for MPE that preserves SR4 and thus makes exceptions across libraries
work. I can make this available to you if you want to try to hack it
for HP-UX.
>>
Of course if the "lame HP unwinder" could be used, we would not need to
be using the relatively inefficient setjmp/longjmp approach for handling
exceptions on HP. Indeed our Ada interest in this is both to get an
accurate traceback for heterogenous (gcc and non-gcc mixed) code, and
also to implement efficient exception handling in such environments.