Messages in this thread | | | Date | Thu, 10 Apr 2003 14:41:41 -0700 (PDT) | From | Ranga Iyengar <> | Subject | siginfo of traced child to parent process |
| |
I wanted to know if there is a way to get the siginfo_t of a child process from a parent process. The child process is traced by the parent process using ptrace system call and if the child is stopped because of SIGSEGV or SIGFPE, the address of the instruction that caused the exception is available to the child from the signal handler thro' the siginfo structure. Is there any way of getting this info(siginfo) to the parent. The parent attaches to the child in the same way 'gdb' attaches to the debugged programs.
I'm using linux kernel 2.4.18
Thanks Ron
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |