This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: HP-PA ABI issues - framepointer handling


<<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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]