Currently, I am transferring our code from alpha (Tru64) to the i386 processor (Linux) to C. Everything went pretty smoothly until I looked into porting our exception handling routine. We currently have a parent process that spawns many subprocesses, and when one of these subprocesses is fatal (unfielded) I have subroutines to catch the process.
Currently, I am struggling to find the best way to implement a trace procedure that can list the addresses of functions in the error log; currently, my program simply prints the signal that caused the exception and the exception classifier code.
Any help would be received at best, ideally I would write error handling for all processors, however at this stage I really like i386 and x86_64.
thanks
Mark
source share