Implementing traceback on i386
Posted
by markelliott2000
on Stack Overflow
See other posts from Stack Overflow
or by markelliott2000
Published on 2010-03-08T09:52:06Z
Indexed on
2010/03/08
10:06 UTC
Read the original article
Hit count: 199
Hi,
I am currently porting our code from an alpha (Tru64) to an i386 processor (Linux) in C. Everything has gone pretty smoothly up until I looked into porting our exception handling routine. Currently we have a parent process which spawns lots of sub processes, and when one of these sub-processes fatal's (unfielded) I have routines to catch the process.
I am currently struggling to find the best method of implementing a traceback routine which can list the function addresses in the error log, currently my routine just prints the the signal which caused the exception and the exception qualifier code.
Any help would be greatly received, ideally I would write error handling for all processors, however at this stage I only really care about i386, and x86_64.
Thanks
Mark
© Stack Overflow or respective owner