On Fri, Mar 7, 2008 at 4:01 AM, Raja <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to develop a a GDB wrapper script in python which is > able to extract a stack trace and all relevant data. > > Has anyone does this before ? Even some basic idea or code as to how > to proceed would be great. > > Thanks, > Raja. > -- > http://mail.python.org/mailman/listinfo/python-list >
You mean extract the information from core dump files that gdb interprets ? Check out stuff like ELF, Dwarf 3 (http://dwarf.freestandards.org/) and gdb sources. -- What this world needs is a good five-dollar plasma weapon. -- http://mail.python.org/mailman/listinfo/python-list