Hi On Mon, Feb 16, 2009 at 5:51 PM, Murali N <nalajala.murali@xxxxxxxxx> wrote: > Hi, > Can any one please tell me how to back trace the stack ( Program ) when an > exception occurred. > While back tracing how do i get the caller function address? I want to get > all the caller function addresses.This information will be useful to trace > back where exception has occurred. let's hope I understand your question correctly. You ask: if a user space program somehow triggers exception, how to trace it? Well, CMIIW people, but I guess in most case exception will trigger core dump. So just make sure you do ulimit -c unlimited. Once exceptions happens, you get the core dump. Together with gdb, using "bt" function you can trace the original caller function that starts the call chain. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ